From 362c32015d42da5ae9b122e3b4faa2fcaafc57a6 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Wed, 4 Sep 2013 23:00:54 -0700 Subject: [PATCH] builder/digitalocean: retry pending events a lot more --- builder/digitalocean/api.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builder/digitalocean/api.go b/builder/digitalocean/api.go index 2118cf5ed..5abc12faa 100644 --- a/builder/digitalocean/api.go +++ b/builder/digitalocean/api.go @@ -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