Skip to content

Commit

Permalink
chore: update max delay for NodeClaim lifecycle controller (#1561)
Browse files Browse the repository at this point in the history
  • Loading branch information
rschalo authored Aug 12, 2024
1 parent 71b7bd4 commit 92547d1
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 @@ -141,7 +141,8 @@ func (c *Controller) Register(_ context.Context, m manager.Manager) error {
).
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 92547d1

Please sign in to comment.