Skip to content

Commit

Permalink
Bump timeout to 10 sec
Browse files Browse the repository at this point in the history
  • Loading branch information
octol committed Nov 6, 2024
1 parent 1e69439 commit 700fa5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nym-vpn-core/crates/nym-vpn-lib/src/platform/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ async fn start_vpn_inner(config: VPNConfig) -> Result<(), VpnError> {
// We want to move this check into the state machine so that it happens during the connecting
// state instead. This would allow us more flexibility in waiting for the account to be ready
// and handle errors in a unified manner.
let timeout = Duration::from_secs(5);
let timeout = Duration::from_secs(10);
account::assert_account_ready_to_connect(timeout).await?;

let mut guard = STATE_MACHINE_HANDLE.lock().await;
Expand Down

0 comments on commit 700fa5b

Please sign in to comment.