diff options
author | mat <github@matdoes.dev> | 2021-05-30 00:51:57 -0500 |
---|---|---|
committer | mat <github@matdoes.dev> | 2021-05-30 00:51:57 -0500 |
commit | e28b9167a33492c9692cbc10c72effd98ab318fc (patch) | |
tree | 8d054128c96ec3999169b72452e14e1bb16b2feb /src | |
parent | 9ce197d8c677c08e6bef436a1a1c7c6f7cdb443a (diff) | |
download | skyblock-api-e28b9167a33492c9692cbc10c72effd98ab318fc.tar.gz skyblock-api-e28b9167a33492c9692cbc10c72effd98ab318fc.tar.bz2 skyblock-api-e28b9167a33492c9692cbc10c72effd98ab318fc.zip |
increase max listeners for usernameCache
Diffstat (limited to 'src')
-rw-r--r-- | src/hypixelCached.ts | 2 |
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, |