Increase default timeout to 30s which should allow for any operation

to complete.
This commit is contained in:
Dejan Golja 2015-10-09 00:53:35 +11:00
parent ea17b85d94
commit 87c84db51b

View file

@ -15,7 +15,7 @@ var (
errRedirect = errors.New("redirect")
defaultHTTPClientSetup sync.Once
defaultHTTPClient = &http.Client{
Timeout: time.Second * 5,
Timeout: time.Second * 30,
}
)