aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/hypixelCached.ts24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/hypixelCached.ts b/src/hypixelCached.ts
index 47cf088..9bfd97e 100644
--- a/src/hypixelCached.ts
+++ b/src/hypixelCached.ts
@@ -372,15 +372,15 @@ export async function fetchProfileName(user: string, profile: string): Promise<s
return profileName
}
-setInterval(() => {
- const keys = basicPlayerCache.keys()
- if (keys)
- console.log(basicPlayerCache.get(keys[keys.length - 1]))
- console.log('basicPlayerCache', basicPlayerCache.getStats())
- console.log('usernameCache', usernameCache.getStats())
- console.log('profileCache', profileCache.getStats())
- console.log('cachedRawLeaderboards size', cachedRawLeaderboards.size)
- console.log(
- Math.floor((process.memoryUsage().heapUsed / 1024 / 1024) * 10) / 10
- + 'mb')
-}, 60 * 1000) \ No newline at end of file
+// setInterval(() => {
+ // const keys = basicPlayerCache.keys()
+ // if (keys)
+ // console.log(basicPlayerCache.get(keys[keys.length - 1]))
+ // console.log('basicPlayerCache', basicPlayerCache.getStats())
+ // console.log('usernameCache', usernameCache.getStats())
+ // console.log('profileCache', profileCache.getStats())
+ // console.log('cachedRawLeaderboards size', cachedRawLeaderboards.size)
+ // console.log(
+ // Math.floor((process.memoryUsage().heapUsed / 1024 / 1024) * 10) / 10
+ // + 'mb')
+// }, 60 * 1000) \ No newline at end of file