diff --git a/src/server/model/monitor/runner.ts b/src/server/model/monitor/runner.ts index 6ad685b..93f265e 100644 --- a/src/server/model/monitor/runner.ts +++ b/src/server/model/monitor/runner.ts @@ -59,7 +59,7 @@ export class MonitorRunner { value = -1; } - if (this.retriedNum < maxRetries) { + if (value < 0 && this.retriedNum < maxRetries) { // can be retry this.retriedNum++; } else {