mirror of
https://github.com/minio/minio.git
synced 2025-04-22 19:35:47 -04:00
Increased MaxIdleConnsPerHost to prevent excessive re-connections and TIME_WAIT when more than 100 clients are using minio (#5860)
This commit is contained in:
parent
4f68e0109c
commit
e43cd0d5c8
@ -265,9 +265,9 @@ func NewCustomHTTPTransport() http.RoundTripper {
|
|||||||
Timeout: 30 * time.Second,
|
Timeout: 30 * time.Second,
|
||||||
KeepAlive: 30 * time.Second,
|
KeepAlive: 30 * time.Second,
|
||||||
}).DialContext,
|
}).DialContext,
|
||||||
MaxIdleConns: 100,
|
MaxIdleConns: 1024,
|
||||||
MaxIdleConnsPerHost: 100,
|
MaxIdleConnsPerHost: 1024,
|
||||||
IdleConnTimeout: 90 * time.Second,
|
IdleConnTimeout: 30 * time.Second,
|
||||||
TLSHandshakeTimeout: 10 * time.Second,
|
TLSHandshakeTimeout: 10 * time.Second,
|
||||||
ExpectContinueTimeout: 1 * time.Second,
|
ExpectContinueTimeout: 1 * time.Second,
|
||||||
TLSClientConfig: &tls.Config{RootCAs: globalRootCAs},
|
TLSClientConfig: &tls.Config{RootCAs: globalRootCAs},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user