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 /build | |
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 'build')
-rw-r--r-- | build/database.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/build/database.js b/build/database.js index c405438..d228057 100644 --- a/build/database.js +++ b/build/database.js @@ -556,7 +556,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); }); |