mirror of
https://github.com/minio/minio.git
synced 2025-02-28 05:49:16 -05:00
parent
2d1ea86fc6
commit
582953260b
@ -495,7 +495,7 @@ func NewGatewayHTTPTransport() *http.Transport {
|
|||||||
RootCAs: globalRootCAs,
|
RootCAs: globalRootCAs,
|
||||||
}, defaultDialTimeout)()
|
}, defaultDialTimeout)()
|
||||||
// Set aggressive timeouts for gateway
|
// Set aggressive timeouts for gateway
|
||||||
tr.ResponseHeaderTimeout = 30 * time.Second
|
tr.ResponseHeaderTimeout = 1 * time.Minute
|
||||||
|
|
||||||
// Allow more requests to be in flight.
|
// Allow more requests to be in flight.
|
||||||
tr.MaxConnsPerHost = 256
|
tr.MaxConnsPerHost = 256
|
||||||
|
Loading…
x
Reference in New Issue
Block a user