From 3ff559074499c4598d4f077214ffe68d1c8082c8 Mon Sep 17 00:00:00 2001 From: Dragory <2606411+Dragory@users.noreply.github.com> Date: Thu, 19 Aug 2021 01:44:06 +0300 Subject: [PATCH] Tweak --- backend/src/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/src/index.ts b/backend/src/index.ts index 9263279b..8dfbce57 100644 --- a/backend/src/index.ts +++ b/backend/src/index.ts @@ -152,7 +152,7 @@ connect().then(async () => { const client = new Client({ partials: ["USER", "CHANNEL", "GUILD_MEMBER", "MESSAGE", "REACTION"], - restGlobalRateLimit: 5, + restGlobalRateLimit: 10, restTimeOffset: 1000, // Disable mentions by default @@ -183,7 +183,7 @@ connect().then(async () => { client.on(Constants.Events.RATE_LIMIT, data => { // tslint:disable-next-line:no-console - console.log(`[DEBUG] [RATE_LIMIT] ${JSON.stringify(data)}`); + // console.log(`[DEBUG] [RATE_LIMIT] ${JSON.stringify(data)}`); }); const safe429DecayInterval = 5 * SECONDS;