From 4384c68e8b7968a33c98c8ee91511d388826414f Mon Sep 17 00:00:00 2001 From: Tim Carter Date: Mon, 9 Dec 2024 16:41:43 +1100 Subject: [PATCH] Increase connection timeout slightly. --- deploy/tasks/buildah-oci-ta.yaml | 2 +- pkg/domainproxy/common/common.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/deploy/tasks/buildah-oci-ta.yaml b/deploy/tasks/buildah-oci-ta.yaml index 687791e68..edd63057f 100644 --- a/deploy/tasks/buildah-oci-ta.yaml +++ b/deploy/tasks/buildah-oci-ta.yaml @@ -150,7 +150,7 @@ spec: - name: CONNECTION_TIMEOUT description: The connection timeout in milliseconds to use for the domain proxy. type: string - default: 1000 + default: 10000 - name: IDLE_TIMEOUT description: The idle timeout in milliseconds to use for the domain proxy. type: string diff --git a/pkg/domainproxy/common/common.go b/pkg/domainproxy/common/common.go index b7abb0140..d92b4a492 100644 --- a/pkg/domainproxy/common/common.go +++ b/pkg/domainproxy/common/common.go @@ -18,7 +18,7 @@ const ( DomainSocketKey = "DOMAIN_SOCKET" DefaultDomainSocket = "/tmp/domain-socket.sock" ConnectionTimeoutKey = "CONNECTION_TIMEOUT" - DefaultConnectionTimeout = 1000 * time.Millisecond + DefaultConnectionTimeout = 10000 * time.Millisecond IdleTimeoutKey = "IDLE_TIMEOUT" DefaultIdleTimeout = 30000 * time.Millisecond TCP = "tcp"