diff options
author | mat-1 <github@matdoes.dev> | 2021-05-25 00:39:18 +0000 |
---|---|---|
committer | mat-1 <github@matdoes.dev> | 2021-05-25 00:39:18 +0000 |
commit | 8c132c8eb308ce3e02cf1d1f79d58820dc1e65e8 (patch) | |
tree | 521cdadc1b8f9f2e9f8c1c2fe6440b8dd0d2f886 /build/hypixelCached.js | |
parent | 17d2c47ec62f0bdea043cc6d0e09ac3c39a58ea1 (diff) | |
download | skyblock-api-8c132c8eb308ce3e02cf1d1f79d58820dc1e65e8.tar.gz skyblock-api-8c132c8eb308ce3e02cf1d1f79d58820dc1e65e8.tar.bz2 skyblock-api-8c132c8eb308ce3e02cf1d1f79d58820dc1e65e8.zip |
Compiled TS into JS
Diffstat (limited to 'build/hypixelCached.js')
-rw-r--r-- | build/hypixelCached.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/build/hypixelCached.js b/build/hypixelCached.js index 8dac057..72399c8 100644 --- a/build/hypixelCached.js +++ b/build/hypixelCached.js @@ -31,6 +31,7 @@ const mojang = __importStar(require("./mojang")); const hypixel = __importStar(require("./hypixel")); const util_1 = require("./util"); const _1 = require("."); +const database_1 = require("./database"); // cache usernames for 4 hours /** uuid: username */ exports.usernameCache = new node_cache_1.default({ @@ -351,6 +352,7 @@ setInterval(() => { console.log('basicPlayerCache', exports.basicPlayerCache.getStats()); console.log('usernameCache', exports.usernameCache.getStats()); console.log('profileCache', exports.profileCache.getStats()); + console.log('cachedRawLeaderboards size', database_1.cachedRawLeaderboards.size); console.log(Math.floor((process.memoryUsage().heapUsed / 1024 / 1024) * 10) / 10 + 'mb'); }, 60 * 1000); |