Skip to content

Commit

Permalink
cli: increase socket search timeout
Browse files Browse the repository at this point in the history
Fixes #195823
  • Loading branch information
connor4312 committed Oct 17, 2023
1 parent 840bebc commit 18e0a35
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/src/tunnels/code_server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,7 @@ impl<'a> ServerBuilder<'a> {
let (mut origin, listen_rx) =
monitor_server::<SocketMatcher, PathBuf>(child, Some(log_file), plog, false);

let socket = match timeout(Duration::from_secs(8), listen_rx).await {
let socket = match timeout(Duration::from_secs(30), listen_rx).await {
Err(e) => {
origin.kill().await;
Err(wrap(e, "timed out looking for socket"))
Expand Down

0 comments on commit 18e0a35

Please sign in to comment.