From fd9cd89e42c76919e9b0d393936e06812ee422bd Mon Sep 17 00:00:00 2001 From: "chang.qiangqiang" Date: Fri, 22 Nov 2024 19:53:24 +0800 Subject: [PATCH] feat(dependenciesdistributor): set dependenciesdistributor rb maxconcurrentreconciles same as concurrent-resourcebinding-syncs Signed-off-by: chang.qiangqiang --- pkg/dependenciesdistributor/dependencies_distributor.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pkg/dependenciesdistributor/dependencies_distributor.go b/pkg/dependenciesdistributor/dependencies_distributor.go index d5b4392fe539..2cb95517e633 100644 --- a/pkg/dependenciesdistributor/dependencies_distributor.go +++ b/pkg/dependenciesdistributor/dependencies_distributor.go @@ -665,8 +665,7 @@ func (d *DependenciesDistributor) SetupWithManager(mgr controllerruntime.Manager }, }). WithOptions(controller.Options{ - RateLimiter: ratelimiterflag.DefaultControllerRateLimiter[controllerruntime.Request](d.RateLimiterOptions), - MaxConcurrentReconciles: 2, + RateLimiter: ratelimiterflag.DefaultControllerRateLimiter[controllerruntime.Request](d.RateLimiterOptions), }). WatchesRawSource(source.Channel(d.genericEvent, &handler.TypedEnqueueRequestForObject[*workv1alpha2.ResourceBinding]{})). Complete(d),