pkg/http: up the timeout to 10 seconds
Additionally, fix the units on that multiplication. This isn't acceleration.
This commit is contained in:
parent
ec8742c9ba
commit
00c9174da4
@ -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