diff --git a/cmd/common/helpers.go b/cmd/common/helpers.go index 5b8a6dfd16..e9ce624cef 100644 --- a/cmd/common/helpers.go +++ b/cmd/common/helpers.go @@ -16,11 +16,11 @@ import ( const ( // LeaseDuration is the default duration for the leader election lease. - LeaseDuration = 90 * time.Second + LeaseDuration = 30 * time.Second // RenewDeadline is the default duration for the leader renewal. - RenewDeadline = 60 * time.Second + RenewDeadline = 20 * time.Second // RetryPeriod is the default duration for the leader electrion retrial. - RetryPeriod = 30 * time.Second + RetryPeriod = 10 * time.Second ) // CreateResourceLock returns an interface for the resource lock.