diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2020-01-30 12:59:28 +0300 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2020-01-30 12:59:28 +0300 |
commit | 613ca50baffdbe4bc3e28ef6ad977d943cb1e9b6 (patch) | |
tree | f2d456b59abc266156e25e5aaa2ce762062c4469 /internal | |
parent | 2f6ceb885b74a1a30dae2a9760c3178b33e84cd2 (diff) |
Bump serverless proxy request timeout to 4 minutes
Diffstat (limited to 'internal')
-rw-r--r-- | internal/serving/serverless/transport.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/serving/serverless/transport.go b/internal/serving/serverless/transport.go index 98a5473e..5a0f5165 100644 --- a/internal/serving/serverless/transport.go +++ b/internal/serving/serverless/transport.go @@ -17,8 +17,8 @@ type Transport struct { // NewTransport fabricates as new transport type func NewTransport(cluster Cluster) *Transport { dialer := net.Dialer{ - Timeout: 60 * time.Second, - KeepAlive: 60 * time.Second, + Timeout: 4 * time.Minute, + KeepAlive: 6 * time.Minute, } dialContext := func(ctx context.Context, network, address string) (net.Conn, error) { |