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
|
||||
transport := &httpclient.Transport{
|
||||
ConnectTimeout: 10 * time.Second,
|
||||
RequestTimeout: 30 * time.Second,
|
||||
RequestTimeout: 60 * time.Second,
|
||||
ResponseHeaderTimeout: 30 * time.Second,
|
||||
MaxIdleConnsPerHost: 10,
|
||||
DisableKeepAlives: false,
|
||||
|
|
Loading…
Reference in New Issue