Merge pull request #5863 from CharlesQQ/set-dependenciesdistributor-rb-maxconcurrentreconciles

feat(dependenciesdistributor):  remove dependenciesdistributor concurrentreconciles
This commit is contained in:
karmada-bot 2024-11-23 15:12:59 +08:00 committed by GitHub
commit 88c3e4487f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 2 deletions

View File

@ -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),