Skip to content

Commit

Permalink
Merge pull request #5390 from tstromberg/less-retry
Browse files Browse the repository at this point in the history
Retry StartHost only 3 times: 5 is excessive
  • Loading branch information
tstromberg authored Sep 18, 2019
2 parents 56bb5f0 + dd4005f commit 5aa839d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/minikube/cmd/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -868,7 +868,7 @@ func startHost(api libmachine.API, mc cfg.MachineConfig) (*host.Host, bool) {
return err
}

if err = retry.Expo(start, 2*time.Second, 3*time.Minute, 5); err != nil {
if err = retry.Expo(start, 5*time.Second, 3*time.Minute, 3); err != nil {
exit.WithError("Unable to start VM", err)
}
return host, exists
Expand Down

0 comments on commit 5aa839d

Please sign in to comment.