commit
469f075e21
|
@ -136,8 +136,8 @@ func createHost(api libmachine.API, cfg config.ClusterConfig, n config.Node) (*h
|
|||
|
||||
cstart := time.Now()
|
||||
glog.Infof("libmachine.API.Create for %q (driver=%q)", cfg.Name, cfg.Driver)
|
||||
// Allow two minutes to create host before failing fast
|
||||
if err := timedCreateHost(h, api, 2*time.Minute); err != nil {
|
||||
|
||||
if err := timedCreateHost(h, api, 4*time.Minute); err != nil {
|
||||
return nil, errors.Wrap(err, "creating host")
|
||||
}
|
||||
glog.Infof("duration metric: libmachine.API.Create for %q took %s", cfg.Name, time.Since(cstart))
|
||||
|
|
Loading…
Reference in New Issue