aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/hypixelCached.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/hypixelCached.ts b/src/hypixelCached.ts
index ed79e2d..d9e718e 100644
--- a/src/hypixelCached.ts
+++ b/src/hypixelCached.ts
@@ -20,6 +20,8 @@ export const usernameCache = new NodeCache({
useClones: false,
})
+usernameCache.setMaxListeners(20)
+
export const basicProfilesCache = new NodeCache({
stdTTL: 60 * 10,
checkperiod: 60,