diff options
-rw-r--r-- | build/database.js | 4 | ||||
-rw-r--r-- | src/database.ts | 4 |
2 files changed, 4 insertions, 4 deletions
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) { diff --git a/src/database.ts b/src/database.ts index 535000e..2105183 100644 --- a/src/database.ts +++ b/src/database.ts @@ -585,11 +585,11 @@ export async function updateDatabaseProfile(profile: CleanFullProfile): Promise< const leaderboardUpdateMemberQueue = new Queue({ concurrent: 1, - interval: 500 + interval: 2000 }) const leaderboardUpdateProfileQueue = new Queue({ concurrent: 1, - interval: 2000 + interval: 10000 }) /** Queue an update for the member's leaderboard data on the server if applicable */ |