diff options
author | mat <github@matdoes.dev> | 2021-05-31 19:22:45 -0500 |
---|---|---|
committer | mat <github@matdoes.dev> | 2021-05-31 19:23:28 -0500 |
commit | 7278b0563cb7ac7d76b925af4668946ee5784c6e (patch) | |
tree | 502415020f4d77b5c1795e59bb82d2088e94749c /build | |
parent | eff9086ba4e19fc97965cc84fdf1564375bb322e (diff) | |
download | skyblock-api-7278b0563cb7ac7d76b925af4668946ee5784c6e.tar.gz skyblock-api-7278b0563cb7ac7d76b925af4668946ee5784c6e.tar.bz2 skyblock-api-7278b0563cb7ac7d76b925af4668946ee5784c6e.zip |
fix basicPlayerCache not being in ms
Diffstat (limited to 'build')
-rw-r--r-- | build/hypixelCached.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build/hypixelCached.js b/build/hypixelCached.js index 9b753e7..cb078f2 100644 --- a/build/hypixelCached.js +++ b/build/hypixelCached.js @@ -54,7 +54,7 @@ exports.playerCache = new node_cache_1.default({ // cache "basic players" (players without profiles) for 30 minutes exports.basicPlayerCache = new lru_cache_1.default({ max: 10000, - maxAge: 60 * 30, + maxAge: 60 * 30 * 1000, }); exports.profileCache = new node_cache_1.default({ stdTTL: 30, |