diff options
author | mat <github@matdoes.dev> | 2021-07-13 04:46:27 -0500 |
---|---|---|
committer | mat <github@matdoes.dev> | 2021-07-13 04:46:27 -0500 |
commit | 956172c785cae078012f82733f8188ece8f59696 (patch) | |
tree | 2067497b232ca31e12b0ec9fc5a1c381dbd45c79 /build | |
parent | 05a189a374d40a9e3054d85d6e397d748b5664f5 (diff) | |
download | skyblock-api-956172c785cae078012f82733f8188ece8f59696.tar.gz skyblock-api-956172c785cae078012f82733f8188ece8f59696.tar.bz2 skyblock-api-956172c785cae078012f82733f8188ece8f59696.zip |
increase max listeners because what could go wrong
Diffstat (limited to 'build')
-rw-r--r-- | build/hypixelCached.js | 4 |
1 files changed, 2 insertions, 2 deletions
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; |