diff options
Diffstat (limited to 'build')
-rw-r--r-- | build/database.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/build/database.js b/build/database.js index b76b85c..8a29686 100644 --- a/build/database.js +++ b/build/database.js @@ -362,8 +362,7 @@ connect().then(() => { // when it connects, cache the leaderboards and remove bad members removeBadMemberLeaderboardAttributes(); // cache leaderboards on startup so its faster later on - // fetchAllLeaderboards(true) - fetchAllLeaderboards(false); + fetchAllLeaderboards(true); // cache leaderboard players again every 4 hours setInterval(fetchAllLeaderboards, 4 * 60 * 60 * 1000); }); |