mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-27 08:44:04 +00:00
Merge 02af171ec9
into 4228dd0a29
This commit is contained in:
commit
15c2f7df1d
1 changed files with 4 additions and 0 deletions
|
@ -645,6 +645,10 @@ class Monitor extends BeanModel {
|
||||||
retries = 0;
|
retries = 0;
|
||||||
log.debug("monitor", `[${this.name}] timeout = ${timeout}`);
|
log.debug("monitor", `[${this.name}] timeout = ${timeout}`);
|
||||||
this.heartbeatInterval = setTimeout(safeBeat, timeout);
|
this.heartbeatInterval = setTimeout(safeBeat, timeout);
|
||||||
|
|
||||||
|
bean.status = UP;
|
||||||
|
this.prometheus?.update(bean, tlsInfo);
|
||||||
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue