From e28b9167a33492c9692cbc10c72effd98ab318fc Mon Sep 17 00:00:00 2001 From: mat Date: Sun, 30 May 2021 00:51:57 -0500 Subject: increase max listeners for usernameCache --- src/hypixelCached.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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, -- cgit