Skip to content

Commit

Permalink
Merge pull request #9777 from chrischdi/pr-crs-requeue-after-tracker-err
Browse files Browse the repository at this point in the history
🐛 clusterresourceset: requeue after 1 minute if ErrClusterLocked got hit
  • Loading branch information
k8s-ci-robot authored Nov 28, 2023
2 parents 62ce14b + 397ab68 commit a38e6f2
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,9 @@ func (r *ClusterResourceSetReconciler) Reconcile(ctx context.Context, req ctrl.R

// Requeue if ErrClusterLocked was returned for one of the clusters.
if errClusterLockedOccurred {
return ctrl.Result{Requeue: true}, nil
// Requeue after a minute to not end up in exponential delayed requeue which
// could take up to 16m40s.
return ctrl.Result{RequeueAfter: time.Minute}, nil
}

return ctrl.Result{}, nil
Expand Down

0 comments on commit a38e6f2

Please sign in to comment.