Skip to content

Commit

Permalink
cli: increase socket search timeout (microsoft#195837)
Browse files Browse the repository at this point in the history
  • Loading branch information
connor4312 authored and Alex0007 committed Oct 26, 2023
1 parent 95a325e commit d6ac3b0
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 d6ac3b0

Please sign in to comment.