Commit 362c3201 authored by Mitchell Hashimoto's avatar Mitchell Hashimoto

builder/digitalocean: retry pending events a lot more

parent 78302f20
...@@ -198,7 +198,7 @@ func NewRequest(d DigitalOceanClient, path string, params url.Values) (map[strin ...@@ -198,7 +198,7 @@ func NewRequest(d DigitalOceanClient, path string, params url.Values) (map[strin
log.Printf("sending new request to digitalocean: %s", scrubbedUrl) log.Printf("sending new request to digitalocean: %s", scrubbedUrl)
var lastErr error var lastErr error
for attempts := 1; attempts < 5; attempts++ { for attempts := 1; attempts < 10; attempts++ {
resp, err := client.Get(url) resp, err := client.Get(url)
if err != nil { if err != nil {
return nil, err return nil, err
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment