mirror of
https://github.com/coredns/coredns.git
synced 2025-10-31 18:23:13 -04:00
Change default MaxIdleConnsPerHost of Etcd client’s http.Transport (#853)
This commit is contained in:
@@ -121,6 +121,7 @@ func NewHTTPSTransport(cc *tls.Config) *http.Transport {
|
||||
}).Dial,
|
||||
TLSHandshakeTimeout: 10 * time.Second,
|
||||
TLSClientConfig: cc,
|
||||
MaxIdleConnsPerHost: 25,
|
||||
}
|
||||
|
||||
return tr
|
||||
|
||||
Reference in New Issue
Block a user