From a2c5dd8c2a01c3ecaaef14d892e6d1f3ca8c08a2 Mon Sep 17 00:00:00 2001 From: Eric Bailey Date: Tue, 21 May 2024 12:44:13 -0500 Subject: [PATCH] More retries when resuming non-stale account --- 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 972d334259..27e1af4c2b 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)) } }