Skip to content

Commit

Permalink
chore: Update max delay for NodeClaim lifecycle controller (#1773)
Browse files Browse the repository at this point in the history
  • Loading branch information
edibble21 authored Nov 11, 2024
1 parent 2f80354 commit 6d6778f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/controllers/nodeclaim/lifecycle/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ func (c *Controller) Register(_ context.Context, m manager.Manager) error {
WithOptions(controller.Options{
RateLimiter: workqueue.NewTypedMaxOfRateLimiter[reconcile.Request](
// back off until last attempt occurs ~90 seconds before nodeclaim expiration
workqueue.NewTypedItemExponentialFailureRateLimiter[reconcile.Request](time.Second, 300*time.Second),
workqueue.NewTypedItemExponentialFailureRateLimiter[reconcile.Request](time.Second, time.Minute),
// 10 qps, 100 bucket size
&workqueue.TypedBucketRateLimiter[reconcile.Request]{Limiter: rate.NewLimiter(rate.Limit(10), 100)},
),
Expand Down

0 comments on commit 6d6778f

Please sign in to comment.