commit 115e5bf353067eabe512ba48871c268a0c38bb15
parent cbf5b9bed271e43290949a27a3032a1f116c86dd
Author: Sebastian <sebasjm@gmail.com>
Date: Wed, 18 May 2022 14:38:27 -0300
fix: do not cancel all operation processing when one of them reach maxRetries, just skip
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/packages/taler-wallet-core/src/wallet.ts b/packages/taler-wallet-core/src/wallet.ts
@@ -348,9 +348,9 @@ async function runTaskLoop(
if (maxRetries && p.retryInfo && p.retryInfo.retryCounter > maxRetries) {
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;
}
}