Skip to content

Commit

Permalink
chore: Backport (#1561) v34.x (#1565)
Browse files Browse the repository at this point in the history
  • Loading branch information
rschalo authored Aug 12, 2024
1 parent 8d610f0 commit 3ee19c7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/controllers/nodeclaim/lifecycle/controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,8 @@ func (c *Controller) Builder(_ context.Context, m manager.Manager) operatorcontr
).
WithOptions(controller.Options{
RateLimiter: workqueue.NewMaxOfRateLimiter(
workqueue.NewItemExponentialFailureRateLimiter(time.Second, time.Minute),
// back off until last attempt occurs ~90 seconds before nodeclaim expiration
workqueue.NewItemExponentialFailureRateLimiter(time.Second, 300*time.Second),
// 10 qps, 100 bucket size
&workqueue.BucketRateLimiter{Limiter: rate.NewLimiter(rate.Limit(10), 100)},
),
Expand Down

0 comments on commit 3ee19c7

Please sign in to comment.