aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/database.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/database.ts b/src/database.ts
index afdaa0c..5633ce4 100644
--- a/src/database.ts
+++ b/src/database.ts
@@ -429,8 +429,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)
})