From 956172c785cae078012f82733f8188ece8f59696 Mon Sep 17 00:00:00 2001 From: mat Date: Tue, 13 Jul 2021 04:46:27 -0500 Subject: increase max listeners because what could go wrong --- src/hypixelCached.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/hypixelCached.ts b/src/hypixelCached.ts index 4aa96ef..b0fc1db 100644 --- a/src/hypixelCached.ts +++ b/src/hypixelCached.ts @@ -21,7 +21,7 @@ export const usernameCache = new NodeCache({ useClones: false, }) -usernameCache.setMaxListeners(20) +usernameCache.setMaxListeners(50) export const basicProfilesCache = new NodeCache({ stdTTL: 60 * 10, @@ -260,7 +260,7 @@ async function fetchBasicProfiles(user: string): Promise