mirror of
https://github.com/SSLMate/certspotter.git
synced 2025-06-27 10:15:33 +02:00
Increase log client request timeout to 60 seconds
This should be configurable, but I need to experiment first.
This commit is contained in:
parent
35c646ae62
commit
2a80e85783
@ -67,7 +67,7 @@ func New(uri string) *LogClient {
|
|||||||
c.uri = uri
|
c.uri = uri
|
||||||
transport := &httpclient.Transport{
|
transport := &httpclient.Transport{
|
||||||
ConnectTimeout: 10 * time.Second,
|
ConnectTimeout: 10 * time.Second,
|
||||||
RequestTimeout: 30 * time.Second,
|
RequestTimeout: 60 * time.Second,
|
||||||
ResponseHeaderTimeout: 30 * time.Second,
|
ResponseHeaderTimeout: 30 * time.Second,
|
||||||
MaxIdleConnsPerHost: 10,
|
MaxIdleConnsPerHost: 10,
|
||||||
DisableKeepAlives: false,
|
DisableKeepAlives: false,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user