diff options
author | Florian Dold <florian@dold.me> | 2022-05-19 11:19:43 +0200 |
---|---|---|
committer | Florian Dold <florian@dold.me> | 2022-05-19 11:19:43 +0200 |
commit | 609a9cb1d5f371f4af4c23c452e25616fd4750e7 (patch) | |
tree | 323e2504fd0730eda0985a8247a7e91e22a6b066 /packages | |
parent | 25af1987b26000de0f8272678675978b27d14775 (diff) |
wallet-core: use less aggressive retries
Diffstat (limited to 'packages')
-rw-r--r-- | packages/taler-wallet-core/src/util/retries.ts | 4 |
1 files 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 2697ca4ab..b7dba61a8 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( |