From 18ea9e67c963690c4f62b7376ce289cc78bf2daa Mon Sep 17 00:00:00 2001 From: mat Date: Mon, 31 May 2021 20:51:45 -0500 Subject: decrease basicPlayerCache maxAge more --- 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 338dc98..89bf2ae 100644 --- a/src/hypixelCached.ts +++ b/src/hypixelCached.ts @@ -35,10 +35,10 @@ export const playerCache = new NodeCache({ useClones: true, }) -// cache "basic players" (players without profiles) for 30 minutes +// cache "basic players" (players without profiles) for 20 minutes export const basicPlayerCache: LRUCache = new LRUCache({ max: 10000, - maxAge: 60 * 30 * 1000, + maxAge: 60 * 20 * 1000, }) export const profileCache = new NodeCache({ -- cgit