A smaller delay in updating users

This commit is contained in:
Nefrace 2021-04-12 23:12:33 +03:00
parent 3d8825404d
commit 7347455be4
1 changed files with 1 additions and 1 deletions

View File

@ -650,7 +650,7 @@ async function updateDB(id) {
user.username = u.username || null user.username = u.username || null
await user.save() await user.save()
console.log(`USER ${user.uid} SAVED`) console.log(`USER ${user.uid} SAVED`)
await sleep(200) await sleep(100)
} }
console.log("WE ARE DONE") console.log("WE ARE DONE")
return true return true