builder/digitalocean: retry pending events a lot more

This commit is contained in:
Mitchell Hashimoto 2013-09-04 23:00:54 -07:00
parent 78302f2071
commit 362c32015d
1 changed files with 1 additions and 1 deletions

View File

@ -198,7 +198,7 @@ func NewRequest(d DigitalOceanClient, path string, params url.Values) (map[strin
log.Printf("sending new request to digitalocean: %s", scrubbedUrl)
var lastErr error
for attempts := 1; attempts < 5; attempts++ {
for attempts := 1; attempts < 10; attempts++ {
resp, err := client.Get(url)
if err != nil {
return nil, err