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 /src | |
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 'src')
-rw-r--r-- | src/hypixelCached.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hypixelCached.ts b/src/hypixelCached.ts index 4ffd1a7..338dc98 100644 --- a/src/hypixelCached.ts +++ b/src/hypixelCached.ts @@ -38,7 +38,7 @@ export const playerCache = new NodeCache({ // cache "basic players" (players without profiles) for 30 minutes export const basicPlayerCache: LRUCache<string, CleanPlayer> = new LRUCache({ max: 10000, - maxAge: 60 * 30, + maxAge: 60 * 30 * 1000, }) export const profileCache = new NodeCache({ |