aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian <sebasjm@gmail.com>2022-05-18 14:38:27 -0300
committerSebastian <sebasjm@gmail.com>2022-05-18 14:38:27 -0300
commit115e5bf353067eabe512ba48871c268a0c38bb15 (patch)
treee82692d5c79ee38410fd0704a8214addf3807c4f
parentcbf5b9bed271e43290949a27a3032a1f116c86dd (diff)
fix: do not cancel all operation processing when one of them reach maxRetries, just skip
-rw-r--r--packages/taler-wallet-core/src/wallet.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/taler-wallet-core/src/wallet.ts b/packages/taler-wallet-core/src/wallet.ts
index 905d9220a..0590251e3 100644
--- 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;
}
}