aboutsummaryrefslogtreecommitdiff
path: root/src/hypixelCached.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/hypixelCached.ts')
-rw-r--r--src/hypixelCached.ts7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/hypixelCached.ts b/src/hypixelCached.ts
index 3896703..c14db3e 100644
--- a/src/hypixelCached.ts
+++ b/src/hypixelCached.ts
@@ -371,5 +371,10 @@ setInterval(() => {
const keys = basicPlayerCache.keys()
if (keys)
console.log(basicPlayerCache.get(keys[keys.length - 1]))
- console.log(basicPlayerCache.getStats())
+ console.log('basicPlayerCache', basicPlayerCache.getStats())
+ console.log('usernameCache', usernameCache.getStats())
+ console.log('profileCache', profileCache.getStats())
+ console.log(
+ Math.floor((process.memoryUsage().heapUsed / 1024 / 1024) * 10) / 10
+ + 'mb')
}, 60 * 1000) \ No newline at end of file