mirror of
https://github.com/pgsty/minio.git
synced 2026-07-20 20:50:22 +03:00
+1
-1
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user