aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormat <github@matdoes.dev>2021-12-30 23:22:43 -0600
committermat <github@matdoes.dev>2021-12-30 23:22:43 -0600
commit1e8e1f82ee0ad23fbd879630d81867615c394a16 (patch)
tree882c9a2f9ee71f069d522bfec433f9371b284b25 /src
parent64498e87a33e8afcd17ce662d806097b6680da33 (diff)
downloadskyblock-api-1e8e1f82ee0ad23fbd879630d81867615c394a16.tar.gz
skyblock-api-1e8e1f82ee0ad23fbd879630d81867615c394a16.tar.bz2
skyblock-api-1e8e1f82ee0ad23fbd879630d81867615c394a16.zip
increase username cache max listeners
Diffstat (limited to 'src')
-rw-r--r--src/hypixelCached.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hypixelCached.ts b/src/hypixelCached.ts
index 23fc15e..cdf1e63 100644
--- a/src/hypixelCached.ts
+++ b/src/hypixelCached.ts
@@ -21,7 +21,7 @@ export const usernameCache = new NodeCache({
useClones: false,
})
-usernameCache.setMaxListeners(50)
+usernameCache.setMaxListeners(200)
export const basicProfilesCache = new NodeCache({