From 7278b0563cb7ac7d76b925af4668946ee5784c6e Mon Sep 17 00:00:00 2001 From: mat Date: Mon, 31 May 2021 19:22:45 -0500 Subject: fix basicPlayerCache not being in ms --- src/hypixelCached.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 = new LRUCache({ max: 10000, - maxAge: 60 * 30, + maxAge: 60 * 30 * 1000, }) export const profileCache = new NodeCache({ -- cgit