Skip to content

Commit 08bc3d8

Browse files
committed
K8SPXC-926: increase MaxConcurrentReconciles
https://jira.percona.com/browse/K8SPXC-926 If we use an operator for two or more clusters, and one of them is stuck, we can't update the other clusters. That's why we need concurrent reconciles
1 parent 98b8cdc commit 08bc3d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/controller/pxc/controller.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ func newReconciler(mgr manager.Manager) (reconcile.Reconciler, error) {
8484
// add adds a new Controller to mgr with r as the reconcile.Reconciler
8585
func add(mgr manager.Manager, r reconcile.Reconciler) error {
8686
// Create a new controller
87-
c, err := controller.New("perconaxtradbcluster-controller", mgr, controller.Options{Reconciler: r})
87+
c, err := controller.New("perconaxtradbcluster-controller", mgr, controller.Options{MaxConcurrentReconciles: 20, Reconciler: r})
8888
if err != nil {
8989
return err
9090
}

0 commit comments

Comments
 (0)