diff options
author | mat <github@matdoes.dev> | 2021-05-24 16:27:48 -0500 |
---|---|---|
committer | mat <github@matdoes.dev> | 2021-05-24 16:27:48 -0500 |
commit | da55f893ef3ea3c55816d36e63f11fe6509ce843 (patch) | |
tree | d5dc5ee14a9d132a40be4aa77522d80787205f19 /build/hypixelCached.js | |
parent | 8871e5775bf8361c3acb99f306ee34dbdced79d8 (diff) | |
download | skyblock-api-da55f893ef3ea3c55816d36e63f11fe6509ce843.tar.gz skyblock-api-da55f893ef3ea3c55816d36e63f11fe6509ce843.tar.bz2 skyblock-api-da55f893ef3ea3c55816d36e63f11fe6509ce843.zip |
more debug stuff
Diffstat (limited to 'build/hypixelCached.js')
-rw-r--r-- | build/hypixelCached.js | 6 |
1 files changed, 5 insertions, 1 deletions
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); |