fix: do not cancel all operation processing when one of them reach maxRetries, just skip
This commit is contained in:
parent
cbf5b9bed2
commit
115e5bf353
@ -348,9 +348,9 @@ async function runTaskLoop(
|
|||||||
|
|
||||||
if (maxRetries && p.retryInfo && p.retryInfo.retryCounter > maxRetries) {
|
if (maxRetries && p.retryInfo && p.retryInfo.retryCounter > maxRetries) {
|
||||||
logger.warn(
|
logger.warn(
|
||||||
`stopping, as ${maxRetries} retries are exceeded in an operation of type ${p.type}`,
|
`skipping, as ${maxRetries} retries are exceeded in an operation of type ${p.type}`,
|
||||||
);
|
);
|
||||||
return;
|
continue;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user