mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-02-25 21:15:55 +00:00
Compare commits
3 commits
857b57dc3c
...
b105387b09
Author | SHA1 | Date | |
---|---|---|---|
|
b105387b09 | ||
|
7dc6191b0a | ||
|
9c30429dbf |
2 changed files with 2 additions and 1 deletions
|
@ -72,6 +72,7 @@ class GoogleChat extends NotificationProvider {
|
|||
|
||||
// construct json data
|
||||
let data = {
|
||||
fallbackText: chatHeader["title"],
|
||||
cardsV2: [
|
||||
{
|
||||
card: {
|
||||
|
|
|
@ -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