Skip to content

Commit

Permalink
Update cmd/trust-manager/app/options/options.go
Browse files Browse the repository at this point in the history
Co-authored-by: Erik Godding Boye <egboye@gmail.com>
Signed-off-by: jabdoa2 <jabdoa2@users.noreply.github.com>
  • Loading branch information
jabdoa2 and erikgb authored Jul 15, 2024
1 parent 32ec140 commit 7fed76e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/trust-manager/app/options/options.go
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ func (o *Options) addAppFlags(fs *pflag.FlagSet) {
"Lease duration for leader election")

fs.DurationVar(o.RenewDeadline,
"leader-election-renew-deadline", time.Second*40,
"leader-election-renew-deadline", time.Second*10,
"Lease renew deadline for leader election")

fs.IntVar(&o.MetricsPort,
Expand Down

0 comments on commit 7fed76e

Please sign in to comment.