From 7347455be4746d95a2252e2448d17d9cf175e3a7 Mon Sep 17 00:00:00 2001 From: Nefrace Date: Mon, 12 Apr 2021 23:12:33 +0300 Subject: [PATCH] A smaller delay in updating users --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 1a512da..fea55e0 100644 --- a/index.js +++ b/index.js @@ -650,7 +650,7 @@ async function updateDB(id) { user.username = u.username || null await user.save() console.log(`USER ${user.uid} SAVED`) - await sleep(200) + await sleep(100) } console.log("WE ARE DONE") return true