Merge pull request #374 from crawford/timeout
pkg/http: up the timeout to 10 seconds
This commit is contained in:
commit
94ea0b99ea
@ -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,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user