diff options
author | mat <github@matdoes.dev> | 2021-05-28 00:48:29 -0500 |
---|---|---|
committer | mat <github@matdoes.dev> | 2021-05-28 00:48:29 -0500 |
commit | 58c3467bf5f61d48d6071e0d99052a0a964e061e (patch) | |
tree | 81eb5ffa10d66b4bbf2d58c2e14630dbd1be928d /src/database.ts | |
parent | 65d21ebe1ead9faa2e1dc6ccad0d24e990632627 (diff) | |
download | skyblock-api-58c3467bf5f61d48d6071e0d99052a0a964e061e.tar.gz skyblock-api-58c3467bf5f61d48d6071e0d99052a0a964e061e.tar.bz2 skyblock-api-58c3467bf5f61d48d6071e0d99052a0a964e061e.zip |
increase interval for updating leaderboards
Diffstat (limited to 'src/database.ts')
-rw-r--r-- | src/database.ts | 4 |
1 files changed, 2 insertions, 2 deletions
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 */ |