[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-wallet-core] 01/03: fix: do not cancel all operation processing w
From: |
gnunet |
Subject: |
[taler-wallet-core] 01/03: fix: do not cancel all operation processing when one of them reach maxRetries, just skip |
Date: |
Wed, 18 May 2022 19:42:01 +0200 |
This is an automated email from the git hooks/post-receive script.
sebasjm pushed a commit to branch master
in repository wallet-core.
commit 115e5bf353067eabe512ba48871c268a0c38bb15
Author: Sebastian <sebasjm@gmail.com>
AuthorDate: Wed May 18 14:38:27 2022 -0300
fix: do not cancel all operation processing when one of them reach
maxRetries, just skip
---
packages/taler-wallet-core/src/wallet.ts | 4 ++--
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
index 905d9220..0590251e 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;
}
}
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.