Increase log client request timeout to 60 seconds

This should be configurable, but I need to experiment first.
This commit is contained in:
Andrew Ayer 2016-08-30 10:39:58 -07:00
parent 35c646ae62
commit 2a80e85783
1 changed files with 1 additions and 1 deletions

View File

@ -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,