Skip to content

Commit

Permalink
Bump CRI timeout to 34 minutes (#3159)
Browse files Browse the repository at this point in the history
Signed-off-by: Derek Nola <[email protected]>
  • Loading branch information
dereknola authored Jul 18, 2022
1 parent dc25728 commit ba9ef87
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/rke2/spw.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,17 @@ import (
runtimeapi "k8s.io/cri-api/pkg/apis/runtime/v1alpha2"
)

// total of 4 minutes
// total timeout of 4 minutes
var podCheckBackoff = wait.Backoff{
Steps: 12,
Duration: 15 * time.Second,
Factor: 1.0,
Jitter: 0.1,
}

// total of 511 seconds
// total timeout of 2047 seconds (34 minutes)
var criBackoff = wait.Backoff{
Steps: 10,
Steps: 12,
Duration: 1 * time.Second,
Factor: 2,
Jitter: 0.1,
Expand Down

0 comments on commit ba9ef87

Please sign in to comment.