From b496f4c1ac3f0942e4dca5f4fc3aaf1b4ea70c53 Mon Sep 17 00:00:00 2001 From: Skillz4Killz <23035000+Skillz4Killz@users.noreply.github.com> Date: Mon, 17 Apr 2023 16:09:18 +0000 Subject: [PATCH] fix: being in a loop is not a good sign --- packages/rest/src/invalidBucket.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/rest/src/invalidBucket.ts b/packages/rest/src/invalidBucket.ts index 9a1dbc4f2..e2effd61f 100644 --- a/packages/rest/src/invalidBucket.ts +++ b/packages/rest/src/invalidBucket.ts @@ -55,7 +55,7 @@ export function createInvalidRequestBucket(options: InvalidRequestBucketOptions) bucket.processing = true while (bucket.waiting.length > 0) { - logger.debug(`[InvalidBucket] processing waiting queue while loop ran with ${bucket.waiting.length} pending requests to be made. ${JSON.stringify(bucket)}`) + logger.info(`[InvalidBucket] processing waiting queue while loop ran with ${bucket.waiting.length} pending requests to be made. ${JSON.stringify(bucket)}`) if (!bucket.isRequestAllowed() && bucket.resetAt !== undefined) { logger.warn(`[InvalidBucket] processing waiting queue is now paused until more requests are available. ${bucket.waiting.length} pending requests. ${JSON.stringify(bucket)}`)