aboutsummaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authormat <github@matdoes.dev>2021-05-28 00:48:29 -0500
committermat <github@matdoes.dev>2021-05-28 00:48:29 -0500
commit58c3467bf5f61d48d6071e0d99052a0a964e061e (patch)
tree81eb5ffa10d66b4bbf2d58c2e14630dbd1be928d /build
parent65d21ebe1ead9faa2e1dc6ccad0d24e990632627 (diff)
downloadskyblock-api-58c3467bf5f61d48d6071e0d99052a0a964e061e.tar.gz
skyblock-api-58c3467bf5f61d48d6071e0d99052a0a964e061e.tar.bz2
skyblock-api-58c3467bf5f61d48d6071e0d99052a0a964e061e.zip
increase interval for updating leaderboards
Diffstat (limited to 'build')
-rw-r--r--build/database.js4
1 files changed, 2 insertions, 2 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) {