diff options
author | mat <github@matdoes.dev> | 2021-05-27 17:40:32 -0500 |
---|---|---|
committer | mat <github@matdoes.dev> | 2021-05-27 17:40:32 -0500 |
commit | 32cd759204c2de2f9b8b81fe001e20910db6fe9d (patch) | |
tree | 92c1328de75e33a308d95a70ada6ddd5186fad7f /src/database.ts | |
parent | 92194d094fb55f93254706bbabaf3ece15952d98 (diff) | |
download | skyblock-api-32cd759204c2de2f9b8b81fe001e20910db6fe9d.tar.gz skyblock-api-32cd759204c2de2f9b8b81fe001e20910db6fe9d.tar.bz2 skyblock-api-32cd759204c2de2f9b8b81fe001e20910db6fe9d.zip |
disable "fast" mode for leaderboards
Diffstat (limited to 'src/database.ts')
-rw-r--r-- | src/database.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/database.ts b/src/database.ts index c461277..5801f58 100644 --- a/src/database.ts +++ b/src/database.ts @@ -688,7 +688,7 @@ if (!globalThis.isTest) { // when it connects, cache the leaderboards and remove bad members removeBadMemberLeaderboardAttributes() // cache leaderboards on startup so its faster later on - fetchAllLeaderboards(true) + fetchAllLeaderboards(false) // cache leaderboard players again every 4 hours setInterval(fetchAllLeaderboards, 4 * 60 * 60 * 1000) }) |