diff options
author | Sebastian <sebasjm@gmail.com> | 2022-05-18 14:38:27 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2022-05-18 14:38:27 -0300 |
commit | 115e5bf353067eabe512ba48871c268a0c38bb15 (patch) | |
tree | e82692d5c79ee38410fd0704a8214addf3807c4f /packages | |
parent | cbf5b9bed271e43290949a27a3032a1f116c86dd (diff) | |
download | wallet-core-115e5bf353067eabe512ba48871c268a0c38bb15.tar.xz |
fix: do not cancel all operation processing when one of them reach maxRetries, just skip
Diffstat (limited to 'packages')
-rw-r--r-- | packages/taler-wallet-core/src/wallet.ts | 4 |
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; } } |