feat(dependenciesdistributor): set dependenciesdistributor rb maxconcurrentreconciles same as concurrent-resourcebinding-syncs
Signed-off-by: chang.qiangqiang <chang.qiangqiang@immomo.com>
This commit is contained in:
parent
8691287429
commit
fd9cd89e42
|
@ -665,8 +665,7 @@ func (d *DependenciesDistributor) SetupWithManager(mgr controllerruntime.Manager
|
||||||
},
|
},
|
||||||
}).
|
}).
|
||||||
WithOptions(controller.Options{
|
WithOptions(controller.Options{
|
||||||
RateLimiter: ratelimiterflag.DefaultControllerRateLimiter[controllerruntime.Request](d.RateLimiterOptions),
|
RateLimiter: ratelimiterflag.DefaultControllerRateLimiter[controllerruntime.Request](d.RateLimiterOptions),
|
||||||
MaxConcurrentReconciles: 2,
|
|
||||||
}).
|
}).
|
||||||
WatchesRawSource(source.Channel(d.genericEvent, &handler.TypedEnqueueRequestForObject[*workv1alpha2.ResourceBinding]{})).
|
WatchesRawSource(source.Channel(d.genericEvent, &handler.TypedEnqueueRequestForObject[*workv1alpha2.ResourceBinding]{})).
|
||||||
Complete(d),
|
Complete(d),
|
||||||
|
|
Loading…
Reference in New Issue