Merge pull request #374 from crawford/timeout

pkg/http: up the timeout to 10 seconds
This commit is contained in:
Alex Crawford 2015-08-12 11:08:04 -07:00
commit 94ea0b99ea

View File

@ -80,7 +80,7 @@ func NewHttpClient() *HttpClient {
MaxRetries: 15, MaxRetries: 15,
SkipTLS: false, SkipTLS: false,
client: &http.Client{ client: &http.Client{
Timeout: time.Duration(2) * time.Second, Timeout: 10 * time.Second,
}, },
} }