From 58c3467bf5f61d48d6071e0d99052a0a964e061e Mon Sep 17 00:00:00 2001 From: mat Date: Fri, 28 May 2021 00:48:29 -0500 Subject: increase interval for updating leaderboards --- build/database.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'build') diff --git a/build/database.js b/build/database.js index f388c8c..9cc625d 100644 --- a/build/database.js +++ b/build/database.js @@ -462,11 +462,11 @@ async function updateDatabaseProfile(profile) { exports.updateDatabaseProfile = updateDatabaseProfile; const leaderboardUpdateMemberQueue = new queue_promise_1.default({ concurrent: 1, - interval: 500 + interval: 2000 }); const leaderboardUpdateProfileQueue = new queue_promise_1.default({ concurrent: 1, - interval: 2000 + interval: 10000 }); /** Queue an update for the member's leaderboard data on the server if applicable */ function queueUpdateDatabaseMember(member, profile) { -- cgit