Allow many idle connections per host

Closes #985
This commit is contained in:
Alexander Neumann 2017-05-31 19:39:19 +02:00
parent 4dbbc24a44
commit 04b262d8f1
1 changed files with 1 additions and 0 deletions

View File

@ -18,6 +18,7 @@ func Transport() http.RoundTripper {
DualStack: true,
}).DialContext,
MaxIdleConns: 100,
MaxIdleConnsPerHost: 100,
IdleConnTimeout: 90 * time.Second,
TLSHandshakeTimeout: 10 * time.Second,
ExpectContinueTimeout: 1 * time.Second,