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 /src | |
parent | 8871e5775bf8361c3acb99f306ee34dbdced79d8 (diff) | |
download | skyblock-api-da55f893ef3ea3c55816d36e63f11fe6509ce843.tar.gz skyblock-api-da55f893ef3ea3c55816d36e63f11fe6509ce843.tar.bz2 skyblock-api-da55f893ef3ea3c55816d36e63f11fe6509ce843.zip |
more debug stuff
Diffstat (limited to 'src')
-rw-r--r-- | src/hypixelCached.ts | 7 |
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 |