mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-23 14:54:05 +00:00
Compare commits
3 commits
98fc77c598
...
d763cb7a2d
Author | SHA1 | Date | |
---|---|---|---|
|
d763cb7a2d | ||
|
778363a948 | ||
|
02af171ec9 |
2 changed files with 5 additions and 1 deletions
|
@ -645,6 +645,10 @@ class Monitor extends BeanModel {
|
|||
retries = 0;
|
||||
log.debug("monitor", `[${this.name}] timeout = ${timeout}`);
|
||||
this.heartbeatInterval = setTimeout(safeBeat, timeout);
|
||||
|
||||
bean.status = UP;
|
||||
this.prometheus?.update(bean, tlsInfo);
|
||||
|
||||
return;
|
||||
}
|
||||
} else {
|
||||
|
|
|
@ -1065,7 +1065,7 @@ import { hostNameRegexPattern } from "../util-frontend";
|
|||
import HiddenInput from "../components/HiddenInput.vue";
|
||||
import EditMonitorConditions from "../components/EditMonitorConditions.vue";
|
||||
|
||||
const toast = useToast;
|
||||
const toast = useToast();
|
||||
|
||||
const pushTokenLength = 32;
|
||||
|
||||
|
|
Loading…
Reference in a new issue