aboutsummaryrefslogtreecommitdiff
path: root/build/hypixelCached.js
diff options
context:
space:
mode:
Diffstat (limited to 'build/hypixelCached.js')
-rw-r--r--build/hypixelCached.js4
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;