A smaller delay in updating users
This commit is contained in:
parent
3d8825404d
commit
7347455be4
2
index.js
2
index.js
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue