Skip to content

Commit

Permalink
clusterresourceset: requeue after 1 minute if ErrClusterLocked got hit
Browse files Browse the repository at this point in the history
  • Loading branch information
chrischdi committed Dec 5, 2023
1 parent 1af8468 commit 206e291
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 206e291

Please sign in to comment.