mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-02-26 13:35:56 +00:00
Compare commits
3 commits
42b4a79848
...
fadb873e3e
Author | SHA1 | Date | |
---|---|---|---|
|
fadb873e3e | ||
|
223cde831f | ||
|
9c30429dbf |
2 changed files with 1 additions and 2 deletions
|
@ -32,7 +32,6 @@ tsconfig.json
|
|||
/extra/healthcheck.exe
|
||||
/extra/healthcheck
|
||||
/extra/exe-builder
|
||||
/extra/push-examples
|
||||
/extra/uptime-kuma-push
|
||||
|
||||
# Comment the following line if you want to rebuild the healthcheck binary
|
||||
|
|
|
@ -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