Increase response header timeout for gateway (#9400)

fixes: #9295
master
poornas 5 years ago committed by GitHub
parent 2d1ea86fc6
commit 582953260b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      cmd/utils.go

@ -495,7 +495,7 @@ func NewGatewayHTTPTransport() *http.Transport {
RootCAs: globalRootCAs,
}, defaultDialTimeout)()
// Set aggressive timeouts for gateway
tr.ResponseHeaderTimeout = 30 * time.Second
tr.ResponseHeaderTimeout = 1 * time.Minute
// Allow more requests to be in flight.
tr.MaxConnsPerHost = 256

Loading…
Cancel
Save