From 776a3ab5f6d717d88691044732d2a9d00f1ca772 Mon Sep 17 00:00:00 2001 From: mat Date: Sat, 29 May 2021 22:56:21 -0500 Subject: only cache raw leaderboards --- build/database.js | 1 + 1 file changed, 1 insertion(+) (limited to 'build') diff --git a/build/database.js b/build/database.js index 8e3beb9..7e7331c 100644 --- a/build/database.js +++ b/build/database.js @@ -533,6 +533,7 @@ async function fetchAllLeaderboards(fast) { for (const leaderboard of util_1.shuffle(leaderboards)) await fetchMemberLeaderboardRaw(leaderboard); exports.finishedCachingRawLeaderboards = true; + return; // shuffle so if the application is restarting many times itll still be useful if (_1.debug) console.debug('Caching leaderboards!'); -- cgit