Update rate-limiter.js

Rate limit remaining requests log to debug.
pull/5402/head
Chris 2024-12-03 15:29:56 +01:00 committed by GitHub
parent c0fe669cd8
commit 9c30429dbf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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({