provider/digitalocean: less aggressive retry
This commit is contained in:
parent
c2677b3c0a
commit
bf3ac46c36
|
@ -317,10 +317,12 @@ func WaitForDropletAttribute(id string, target string, pending []string, attribu
|
||||||
id, attribute, target)
|
id, attribute, target)
|
||||||
|
|
||||||
stateConf := &resource.StateChangeConf{
|
stateConf := &resource.StateChangeConf{
|
||||||
Pending: pending,
|
Pending: pending,
|
||||||
Target: target,
|
Target: target,
|
||||||
Refresh: new_droplet_state_refresh_func(id, attribute, client),
|
Refresh: new_droplet_state_refresh_func(id, attribute, client),
|
||||||
Timeout: 10 * time.Minute,
|
Timeout: 10 * time.Minute,
|
||||||
|
Delay: 10 * time.Second,
|
||||||
|
MinTimeout: 3 * time.Second,
|
||||||
}
|
}
|
||||||
|
|
||||||
return stateConf.WaitForState()
|
return stateConf.WaitForState()
|
||||||
|
|
Loading…
Reference in New Issue