fix: fix logic problem of retry
This commit is contained in:
parent
d0c8bf9f0e
commit
ce891e9254
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user