wallet-core: use less aggressive retries

This commit is contained in:
Florian Dold 2022-05-19 11:19:43 +02:00
parent 25af1987b2
commit 609a9cb1d5
No known key found for this signature in database
GPG Key ID: D2E4F00F29D02A4B

View File

@ -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(