Skip to content

Commit

Permalink
feat(controller): Set retry factor to 2. Closes #3911 (#3919)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexec authored Sep 1, 2020
1 parent be91d76 commit de2185c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion util/retry/retry.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,14 @@ import (
)

// DefaultRetry is a default retry backoff settings when retrying API calls
// Retry Seconds
// 1 0.01
// 2 0.03
// 3 0.07
// 4 0.15
// 5 0.31
var DefaultRetry = wait.Backoff{
Steps: 5,
Duration: 10 * time.Millisecond,
Factor: 1.0,
Factor: 2,
}

0 comments on commit de2185c

Please sign in to comment.