This commit is contained in:
John W Higgins 2024-10-22 08:49:02 +00:00 committed by GitHub
commit 975c23a5ec
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 {