|
|
@ -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 |
|
|
|