Skip to content

Commit

Permalink
fix: increase timeout to 5 minutes to be more flexible for dkg
Browse files Browse the repository at this point in the history
  • Loading branch information
wbobeirne committed Jul 17, 2023
1 parent 93092eb commit 88c867f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/guardian-ui/src/GuardianApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class BaseGuardianApi
throw new Error('REACT_APP_FM_CONFIG_API not set');
}

const requestTimeoutMs = 20000;
const requestTimeoutMs = 1000 * 60 * 60 * 5; // 5 minutes, dkg can take a while
const websocket = new JsonRpcWebsocket(
websocketUrl,
requestTimeoutMs,
Expand Down

0 comments on commit 88c867f

Please sign in to comment.