gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-wallet-core] branch master updated: wallet-core: use less aggress


From: gnunet
Subject: [taler-wallet-core] branch master updated: wallet-core: use less aggressive retries
Date: Thu, 19 May 2022 11:19:46 +0200

This is an automated email from the git hooks/post-receive script.

dold pushed a commit to branch master
in repository wallet-core.

The following commit(s) were added to refs/heads/master by this push:
     new 609a9cb1 wallet-core: use less aggressive retries
609a9cb1 is described below

commit 609a9cb1d5f371f4af4c23c452e25616fd4750e7
Author: Florian Dold <florian@dold.me>
AuthorDate: Thu May 19 11:19:43 2022 +0200

    wallet-core: use less aggressive retries
---
 packages/taler-wallet-core/src/util/retries.ts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/packages/taler-wallet-core/src/util/retries.ts 
b/packages/taler-wallet-core/src/util/retries.ts
index 2697ca4a..b7dba61a 100644
--- a/packages/taler-wallet-core/src/util/retries.ts
+++ b/packages/taler-wallet-core/src/util/retries.ts
@@ -37,8 +37,8 @@ export interface RetryPolicy {
 
 const defaultRetryPolicy: RetryPolicy = {
   backoffBase: 1.5,
-  backoffDelta: { d_ms: 200 },
-  maxTimeout: { d_ms: 6000 },
+  backoffDelta: Duration.fromSpec({ seconds: 1 }),
+  maxTimeout: Duration.fromSpec({ minutes: 1 }),
 };
 
 function updateTimeout(

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]