aboutsummaryrefslogtreecommitdiff
path: root/build/database.js
diff options
context:
space:
mode:
authormat <27899617+mat-1@users.noreply.github.com>2021-03-01 22:00:53 -0600
committermat <27899617+mat-1@users.noreply.github.com>2021-03-01 22:00:53 -0600
commit2c2a465efb2535f2d9ce8d5865c276e2e91c4979 (patch)
treeb2d9dafa3337be7aabb0929fc3cd5d96b8b5aee7 /build/database.js
parent49f0f038434d1b95f4218b97c7a41be8f869a4f7 (diff)
downloadskyblock-api-2c2a465efb2535f2d9ce8d5865c276e2e91c4979.tar.gz
skyblock-api-2c2a465efb2535f2d9ce8d5865c276e2e91c4979.tar.bz2
skyblock-api-2c2a465efb2535f2d9ce8d5865c276e2e91c4979.zip
change concurrent updating leaderboard members to 1
Diffstat (limited to 'build/database.js')
-rw-r--r--build/database.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/database.js b/build/database.js
index 25f0b24..647c853 100644
--- a/build/database.js
+++ b/build/database.js
@@ -247,7 +247,7 @@ async function updateDatabaseMember(member, profile) {
}
exports.updateDatabaseMember = updateDatabaseMember;
const queue = new queue_promise_1.default({
- concurrent: 10,
+ concurrent: 1,
interval: 500
});
/** Queue an update for the member's leaderboard data on the server if applicable */