Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 3 additions & 7 deletions pkg/start/start.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,9 @@ const (

minResyncPeriod = 2 * time.Minute

// TODO set the slower lease values after we're able to reliably shut down gracefully. This fixes the slow status update for now.
//leaseDuration = 90 * time.Second
//renewDeadline = 45 * time.Second
//retryPeriod = 30 * time.Second
leaseDuration = 30 * time.Second
renewDeadline = 15 * time.Second
retryPeriod = 10 * time.Second
leaseDuration = 137 * time.Second
renewDeadline = 107 * time.Second
retryPeriod = 26 * time.Second
)

// Options are the valid inputs to starting the CVO.
Expand Down