mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-02-25 21:15:55 +00:00
Compare commits
2 commits
b105387b09
...
857b57dc3c
Author | SHA1 | Date | |
---|---|---|---|
|
857b57dc3c | ||
|
9c30429dbf |
1 changed files with 1 additions and 1 deletions
|
@ -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({
|
||||
|
|
Loading…
Add table
Reference in a new issue