aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build/database.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/build/database.js b/build/database.js
index c3f2518..11192f0 100644
--- a/build/database.js
+++ b/build/database.js
@@ -291,8 +291,6 @@ async function fetchAllLeaderboards() {
connect().then(() => {
// when it connects, cache the leaderboards and remove bad members
removeBadMemberLeaderboardAttributes();
- // cache leaderboards on startup so its faster later on
- fetchAllLeaderboards();
- // cache leaderboard players again every hour
+ // cache leaderboard players every hour
setInterval(fetchAllLeaderboards, 4 * 60 * 60 * 1000);
});