mirror of
https://github.com/louislam/uptime-kuma.git
synced 2025-03-12 20:34:46 +00:00
Compare commits
3 commits
7e57c1cb54
...
16124ca6c2
Author | SHA1 | Date | |
---|---|---|---|
|
16124ca6c2 | ||
|
65e6f10820 | ||
|
02af171ec9 |
2 changed files with 5 additions and 1 deletions
|
@ -41,7 +41,7 @@
|
|||
"build-docker-pr-test": "docker buildx build -f docker/dockerfile --platform linux/amd64,linux/arm64 -t louislam/uptime-kuma:pr-test2 --target pr-test2 . --push",
|
||||
"upload-artifacts": "node extra/release/upload-artifacts.mjs",
|
||||
"upload-artifacts-beta": "node extra/release/upload-artifacts-beta.mjs",
|
||||
"setup": "git checkout 1.23.15 && npm ci --production && npm run download-dist",
|
||||
"setup": "git checkout 1.23.16 && npm ci --production && npm run download-dist",
|
||||
"download-dist": "node extra/download-dist.js",
|
||||
"mark-as-nightly": "node extra/mark-as-nightly.js",
|
||||
"reset-password": "node extra/reset-password.js",
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Add table
Reference in a new issue