diff options
author | mat <github@matdoes.dev> | 2022-06-04 13:12:37 -0500 |
---|---|---|
committer | mat <github@matdoes.dev> | 2022-06-04 13:12:37 -0500 |
commit | 1b6b520d21e86c2bdeda487b9be8febc924026d7 (patch) | |
tree | 263852b86495e7184b95910f56afe677aa008f21 /src/hypixelCached.ts | |
parent | 379954771b1a8c95dbe0a51bb4b2c52e8738fc73 (diff) | |
download | skyblock-api-1b6b520d21e86c2bdeda487b9be8febc924026d7.tar.gz skyblock-api-1b6b520d21e86c2bdeda487b9be8febc924026d7.tar.bz2 skyblock-api-1b6b520d21e86c2bdeda487b9be8febc924026d7.zip |
Re-enable achievements and lower basicPlayerCache max
Diffstat (limited to 'src/hypixelCached.ts')
-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 a233380..6f91e22 100644 --- a/src/hypixelCached.ts +++ b/src/hypixelCached.ts @@ -40,7 +40,7 @@ export const playerCache = new NodeCache({ // cache "basic players" (players without profiles) for 20 minutes export const basicPlayerCache: LRUCache<string, CleanPlayer> = new LRUCache({ - max: 10000, + max: 1000, ttl: 60 * 20 * 1000, }) |