Skip to content

Commit

Permalink
increase connection timeout for brev open
Browse files Browse the repository at this point in the history
  • Loading branch information
theFong committed Oct 11, 2024
1 parent e9ddcc8 commit e5fa269
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/cmd/open/open.go
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ func openVsCodeWithSSH(
func waitForSSHToBeAvailable(t *terminal.Terminal, s *spinner.Spinner, sshAlias string) error {
counter := 0
for {
cmd := exec.Command("ssh", "-o", "ConnectTimeout=1", sshAlias, "echo", " ")
cmd := exec.Command("ssh", "-o", "ConnectTimeout=3", sshAlias, "echo", " ")
out, err := cmd.CombinedOutput()
if err == nil {
return nil
Expand Down

0 comments on commit e5fa269

Please sign in to comment.