aboutsummaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authormat <github@matdoes.dev>2021-05-30 00:51:57 -0500
committermat <github@matdoes.dev>2021-05-30 00:51:57 -0500
commite28b9167a33492c9692cbc10c72effd98ab318fc (patch)
tree8d054128c96ec3999169b72452e14e1bb16b2feb /build
parent9ce197d8c677c08e6bef436a1a1c7c6f7cdb443a (diff)
downloadskyblock-api-e28b9167a33492c9692cbc10c72effd98ab318fc.tar.gz
skyblock-api-e28b9167a33492c9692cbc10c72effd98ab318fc.tar.bz2
skyblock-api-e28b9167a33492c9692cbc10c72effd98ab318fc.zip
increase max listeners for usernameCache
Diffstat (limited to 'build')
-rw-r--r--build/hypixelCached.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/build/hypixelCached.js b/build/hypixelCached.js
index 23c186d..a922b92 100644
--- a/build/hypixelCached.js
+++ b/build/hypixelCached.js
@@ -39,6 +39,7 @@ exports.usernameCache = new node_cache_1.default({
checkperiod: 60,
useClones: false,
});
+exports.usernameCache.setMaxListeners(20);
exports.basicProfilesCache = new node_cache_1.default({
stdTTL: 60 * 10,
checkperiod: 60,