From fe3cc50df92d34ecf219bb7fbbbd8f3b60bf0fff Mon Sep 17 00:00:00 2001 From: mat Date: Mon, 31 May 2021 16:50:39 -0500 Subject: change basic player cache to only 30 minutes --- src/hypixelCached.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/hypixelCached.ts') diff --git a/src/hypixelCached.ts b/src/hypixelCached.ts index d9e718e..aab5407 100644 --- a/src/hypixelCached.ts +++ b/src/hypixelCached.ts @@ -34,10 +34,10 @@ export const playerCache = new NodeCache({ useClones: true, }) -// cache "basic players" (players without profiles) for 4 hours +// cache "basic players" (players without profiles) for 30 minutes export const basicPlayerCache: LRUCache = new LRUCache({ max: 20000, - maxAge: 60 * 60 * 4 * 1000, + maxAge: 60 * 30, }) export const profileCache = new NodeCache({ -- cgit