Skip to content

Commit

Permalink
Bump default LeaseDuration to 15s, RenewDeadline to 10s
Browse files Browse the repository at this point in the history
Refer to submariner-io#2747

Signed-off-by: Tom Pantelis <[email protected]>
  • Loading branch information
tpantelis committed Oct 25, 2023
1 parent 3bd1f79 commit 74f2873
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/gateway/gateway.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 74f2873

Please sign in to comment.