Extend maximum stop retry from 30s to 120s

pull/7363/head
Thomas Stromberg 2020-04-01 14:24:53 -07:00
parent f5d428e555
commit b71126356f
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)
}