Merge pull request #7363 from tstromberg/stop-harder

Extend maximum stop retry from 30s to 120s
pull/7345/head
Thomas Strömberg 2020-04-01 14:43:14 -07:00 committed by GitHub
commit 5306702515
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ func stop(api libmachine.API, cluster config.ClusterConfig, n config.Node) bool
} }
} }
if err := retry.Expo(tryStop, 1*time.Second, 30*time.Second, 3); err != nil { if err := retry.Expo(tryStop, 1*time.Second, 120*time.Second, 5); err != nil {
exit.WithError("Unable to stop VM", err) exit.WithError("Unable to stop VM", err)
} }