aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.github/workflows/test.yml2
-rw-r--r--src/cleaners/achievements.ts2
-rw-r--r--src/hypixelCached.ts2
3 files changed, 2 insertions, 4 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index 22986e1..8398f51 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -1,4 +1,4 @@
-on: [ push, pull_request ]
+on: [push, pull_request]
jobs:
build-and-test:
diff --git a/src/cleaners/achievements.ts b/src/cleaners/achievements.ts
index 367e14a..9d25535 100644
--- a/src/cleaners/achievements.ts
+++ b/src/cleaners/achievements.ts
@@ -77,8 +77,6 @@ export async function cleanPlayerAchievements(data: typedHypixelApi.PlayerDataRe
lockedChallengeAchievements.push(achievement)
}
- // temporarily disabled
- return { tiered: [], challenge: [] }
return {
tiered: tieredAchievements,
challenge: [
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,
})