Skip to content

Commit

Permalink
Merge pull request #339 from Danil-Grigorev/leader-election
Browse files Browse the repository at this point in the history
BUG 1858400: [Performance] Lease refresh period for machine-api-controllers is too high, causes heavy writes to etcd at idle
  • Loading branch information
openshift-merge-robot committed Jul 21, 2020
2 parents b3f366f + dafb3ff commit 8e8db78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/manager/main.go
Expand Up @@ -70,7 +70,7 @@ func main() {

leaderElectLeaseDuration := flag.Duration(
"leader-elect-lease-duration",
15*time.Second,
90*time.Second,
"The duration that non-leader candidates will wait after observing a leadership renewal until attempting to acquire leadership of a led but unrenewed leader slot. This is effectively the maximum duration that a leader can be stopped before it is replaced by another candidate. This is only applicable if leader election is enabled.",
)

Expand Down

0 comments on commit 8e8db78

Please sign in to comment.