From b93737232589c5bf158fb0611e4f253ff8fe1b08 Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Wed, 22 May 2024 11:34:21 -0500 Subject: [PATCH] More retries when resuming non-stale account (#4156) --- src/state/session/agent.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/state/session/agent.ts b/src/state/session/agent.ts index 972d3342..27e1af4c 100644 --- a/src/state/session/agent.ts +++ b/src/state/session/agent.ts @@ -53,7 +53,7 @@ export async function createAgentAndResume( agent.session = prevSession if (!storedAccount.deactivated) { // Intentionally not awaited to unblock the UI: - networkRetry(1, () => agent.resumeSession(prevSession)) + networkRetry(3, () => agent.resumeSession(prevSession)) } }