Revert "Fix: Use `retryInterval` when a monitor is `DOWN`" (#4875)

pull/3322/merge
Louis Lam 5 months ago committed by GitHub
parent 39c1283ba6
commit dc15443716
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -897,6 +897,7 @@ class Monitor extends BeanModel {
retries = 0;
} catch (error) {
if (error?.name === "CanceledError") {
bean.msg = `timeout by AbortSignal (${this.timeout}s)`;
} else {
@ -969,7 +970,6 @@ class Monitor extends BeanModel {
} else if (bean.status === MAINTENANCE) {
log.warn("monitor", `Monitor #${this.id} '${this.name}': Under Maintenance | Type: ${this.type}`);
} else {
beatInterval = this.retryInterval;
log.warn("monitor", `Monitor #${this.id} '${this.name}': Failing: ${bean.msg} | Interval: ${beatInterval} seconds | Type: ${this.type} | Down Count: ${bean.downCount} | Resend Interval: ${this.resendInterval}`);
}

Loading…
Cancel
Save