mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-03-14 05:14:46 +00:00
Compare commits
3 commits
e0fb2cb46b
...
9d38f35fa3
Author | SHA1 | Date | |
---|---|---|---|
|
9d38f35fa3 | ||
|
97cbaac5d9 | ||
|
9c30429dbf |
2 changed files with 2 additions and 2 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({
|
||||
|
|
|
@ -197,7 +197,7 @@ export default {
|
|||
return tagOptions;
|
||||
},
|
||||
selectedTags() {
|
||||
return this.preSelectedTags.concat(this.newTags).filter(tag => !this.deleteTags.find(monitorTag => monitorTag.id === tag.id));
|
||||
return this.preSelectedTags.concat(this.newTags).filter(tag => !this.deleteTags.find(monitorTag => monitorTag.tag_id === tag.tag_id));
|
||||
},
|
||||
colorOptions() {
|
||||
return colorOptions(this);
|
||||
|
|
Loading…
Add table
Reference in a new issue