From 9c30429dbfaf83c8732f31f34e0537e6a0fa3c92 Mon Sep 17 00:00:00 2001 From: Chris Date: Tue, 3 Dec 2024 15:29:56 +0100 Subject: [PATCH] Update rate-limiter.js Rate limit remaining requests log to debug. --- server/rate-limiter.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/rate-limiter.js b/server/rate-limiter.js index 3c269b6f..51522ee6 100644 --- a/server/rate-limiter.js +++ b/server/rate-limiter.js @@ -24,7 +24,7 @@ class KumaRateLimiter { */ async pass(callback, num = 1) { const remainingRequests = await this.removeTokens(num); - log.info("rate-limit", "remaining requests: " + remainingRequests); + log.debug("rate-limit", "remaining requests: " + remainingRequests); if (remainingRequests < 0) { if (callback) { callback({