From 7f125cec891a969c585774dce319c68977e02c32 Mon Sep 17 00:00:00 2001 From: Tom Pantelis Date: Tue, 24 Oct 2023 08:21:18 -0400 Subject: [PATCH] Bump default LeaseDuration to 15s, RenewDeadline to 10s Refer to https://github.com/submariner-io/submariner/issues/2747 Signed-off-by: Tom Pantelis --- pkg/gateway/gateway.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/gateway/gateway.go b/pkg/gateway/gateway.go index e60008f2e..8e9858338 100644 --- a/pkg/gateway/gateway.go +++ b/pkg/gateway/gateway.go @@ -55,8 +55,8 @@ import ( ) const ( - defaultLeaseDuration = 10 * time.Second - defaultRenewDeadline = 5 * time.Second + defaultLeaseDuration = 15 * time.Second + defaultRenewDeadline = 10 * time.Second defaultRetryPeriod = 2 * time.Second LeaderElectionLockName = "submariner-gateway-lock"