From da55f893ef3ea3c55816d36e63f11fe6509ce843 Mon Sep 17 00:00:00 2001 From: mat Date: Mon, 24 May 2021 16:27:48 -0500 Subject: more debug stuff --- build/hypixelCached.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'build') diff --git a/build/hypixelCached.js b/build/hypixelCached.js index 50ffc3d..fcdfcf9 100644 --- a/build/hypixelCached.js +++ b/build/hypixelCached.js @@ -344,5 +344,9 @@ setInterval(() => { const keys = exports.basicPlayerCache.keys(); if (keys) console.log(exports.basicPlayerCache.get(keys[keys.length - 1])); - console.log(exports.basicPlayerCache.getStats()); + console.log('basicPlayerCache', exports.basicPlayerCache.getStats()); + console.log('usernameCache', exports.usernameCache.getStats()); + console.log('profileCache', exports.profileCache.getStats()); + console.log(Math.floor((process.memoryUsage().heapUsed / 1024 / 1024) * 10) / 10 + + 'mb'); }, 60 * 1000); -- cgit