Skip to content

Commit

Permalink
Increase LeaseDuration to create stickiness (#2588)
Browse files Browse the repository at this point in the history
Update leaderelection const
  • Loading branch information
amirbenun authored Oct 10, 2024
1 parent 821947e commit 71c88af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/uniqueness/leaderelection_const.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const (
// wait to force acquire leadership. This is measured against time of
// last observed ack.
//
LeaseDuration = 5 * time.Second
LeaseDuration = 30 * time.Second
// RenewDeadline is the duration that the acting manager will retry
// refreshing leadership before giving up.
//
Expand Down

0 comments on commit 71c88af

Please sign in to comment.