provider/digitalocean: less aggressive retry

This commit is contained in:
Armon Dadgar 2014-07-28 12:58:19 -04:00
parent c2677b3c0a
commit bf3ac46c36
1 changed files with 6 additions and 4 deletions

View File

@ -317,10 +317,12 @@ func WaitForDropletAttribute(id string, target string, pending []string, attribu
id, attribute, target)
stateConf := &resource.StateChangeConf{
Pending: pending,
Target: target,
Refresh: new_droplet_state_refresh_func(id, attribute, client),
Timeout: 10 * time.Minute,
Pending: pending,
Target: target,
Refresh: new_droplet_state_refresh_func(id, attribute, client),
Timeout: 10 * time.Minute,
Delay: 10 * time.Second,
MinTimeout: 3 * time.Second,
}
return stateConf.WaitForState()