From 59a6d5a56b29e770452d748c6c218d0c8ce4ecac Mon Sep 17 00:00:00 2001 From: Dragory <2606411+Dragory@users.noreply.github.com> Date: Tue, 2 Nov 2021 20:14:19 +0200 Subject: [PATCH] debug: increase 'lowest global remaining' log interval --- 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 587a515f..a2234733 100644 --- a/backend/src/index.ts +++ b/backend/src/index.ts @@ -384,9 +384,9 @@ connect().then(async () => { lowestGlobalRemaining = Math.min(lowestGlobalRemaining, (client as any).rest.globalRemaining); }, 100); setInterval(() => { - console.log("Lowest global remaining in the past 5 seconds:", lowestGlobalRemaining); + console.log("Lowest global remaining in the past 15 seconds:", lowestGlobalRemaining); lowestGlobalRemaining = Infinity; - }, 5000); + }, 15000); bot.initialize(); logger.info("Bot Initialized");