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 --- build/hypixelCached.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'build') diff --git a/build/hypixelCached.js b/build/hypixelCached.js index d54aa68..4b048e8 100644 --- a/build/hypixelCached.js +++ b/build/hypixelCached.js @@ -40,7 +40,7 @@ exports.usernameCache = new node_cache_1.default({ checkperiod: 60, useClones: false, }); -exports.usernameCache.setMaxListeners(20); +exports.usernameCache.setMaxListeners(50); exports.basicProfilesCache = new node_cache_1.default({ stdTTL: 60 * 10, checkperiod: 60, @@ -244,7 +244,7 @@ async function fetchBasicProfiles(user) { console.debug('Cache miss: fetchBasicProfiles', user); const player = await fetchPlayer(playerUuid); if (!player) { - console.log('bruh playerUuid', user); + console.log('bruh playerUuid', user, playerUuid); return []; } const profiles = player.profiles; -- cgit