Change default MaxIdleConnsPerHost of Etcd client’s http.Transport (#853)
This commit is contained in:
parent
0bc1ff7408
commit
a04fe81bd8
1 changed files with 1 additions and 0 deletions
|
@ -121,6 +121,7 @@ func NewHTTPSTransport(cc *tls.Config) *http.Transport {
|
||||||
}).Dial,
|
}).Dial,
|
||||||
TLSHandshakeTimeout: 10 * time.Second,
|
TLSHandshakeTimeout: 10 * time.Second,
|
||||||
TLSClientConfig: cc,
|
TLSClientConfig: cc,
|
||||||
|
MaxIdleConnsPerHost: 25,
|
||||||
}
|
}
|
||||||
|
|
||||||
return tr
|
return tr
|
||||||
|
|
Loading…
Add table
Reference in a new issue