Give more time to start
This commit is contained in:
parent
b28b4a13b7
commit
ecea5b821a
1 changed files with 2 additions and 2 deletions
|
|
@ -110,8 +110,8 @@ func SSH(sshProfile string) error {
|
|||
time.Sleep(1 * time.Second)
|
||||
}
|
||||
|
||||
if retries == 10 {
|
||||
return errors.New("Failed to start codespace")
|
||||
if retries == 20 {
|
||||
return errors.New("Timed out waiting for Codespace to start. Try again.")
|
||||
}
|
||||
|
||||
codespace, err = apiClient.GetCodespace(ctx, token, codespace.OwnerLogin, codespace.Name)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue