Skip to content

Commit

Permalink
Merge pull request #9809 from chrischdi/pr-crs-requeue-after-tracker-…
Browse files Browse the repository at this point in the history
…err-1-4

[release-1.4] 🐛 clusterresourceset: requeue after 1 minute if ErrClusterLocked got hit
  • Loading branch information
k8s-ci-robot committed Dec 5, 2023
2 parents 1af8468 + 206e291 commit 3e6699b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ func (r *ClusterResourceSetReconciler) Reconcile(ctx context.Context, req ctrl.R
// the current cluster because of concurrent access.
if errors.Is(err, remote.ErrClusterLocked) {
log.V(5).Info("Requeuing because another worker has the lock on the ClusterCacheTracker")
return ctrl.Result{Requeue: true}, nil
return ctrl.Result{RequeueAfter: time.Minute}, nil
}
return ctrl.Result{}, err
}
Expand Down

0 comments on commit 3e6699b

Please sign in to comment.