aboutsummaryrefslogtreecommitdiff
path: root/src/database.ts
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 /src/database.ts
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 'src/database.ts')
-rw-r--r--src/database.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/database.ts b/src/database.ts
index 09288e5..5d97e88 100644
--- a/src/database.ts
+++ b/src/database.ts
@@ -274,7 +274,7 @@ export async function updateDatabaseMember(member: CleanMember, profile: CleanFu
}
const queue = new Queue({
- concurrent: 10,
+ concurrent: 1,
interval: 500
})