Skip to content

Commit

Permalink
Merge pull request #5863 from CharlesQQ/set-dependenciesdistributor-r…
Browse files Browse the repository at this point in the history
…b-maxconcurrentreconciles

feat(dependenciesdistributor):  remove dependenciesdistributor concurrentreconciles
  • Loading branch information
karmada-bot authored Nov 23, 2024
2 parents 2c51aca + fd9cd89 commit 88c3e44
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/dependenciesdistributor/dependencies_distributor.go
Original file line number Diff line number Diff line change
Expand Up @@ -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),
Expand Down

0 comments on commit 88c3e44

Please sign in to comment.