Skip to content

Commit e5fa269

Browse files
committed
increase connection timeout for brev open
1 parent e9ddcc8 commit e5fa269

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/cmd/open/open.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ func openVsCodeWithSSH(
298298
func waitForSSHToBeAvailable(t *terminal.Terminal, s *spinner.Spinner, sshAlias string) error {
299299
counter := 0
300300
for {
301-
cmd := exec.Command("ssh", "-o", "ConnectTimeout=1", sshAlias, "echo", " ")
301+
cmd := exec.Command("ssh", "-o", "ConnectTimeout=3", sshAlias, "echo", " ")
302302
out, err := cmd.CombinedOutput()
303303
if err == nil {
304304
return nil

0 commit comments

Comments
 (0)