Skip to content

Commit 92547d1

Browse files
authored
chore: update max delay for NodeClaim lifecycle controller (#1561)
1 parent 71b7bd4 commit 92547d1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pkg/controllers/nodeclaim/lifecycle/controller.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,8 @@ func (c *Controller) Register(_ context.Context, m manager.Manager) error {
141141
).
142142
WithOptions(controller.Options{
143143
RateLimiter: workqueue.NewMaxOfRateLimiter(
144-
workqueue.NewItemExponentialFailureRateLimiter(time.Second, time.Minute),
144+
// back off until last attempt occurs ~90 seconds before nodeclaim expiration
145+
workqueue.NewItemExponentialFailureRateLimiter(time.Second, 300*time.Second),
145146
// 10 qps, 100 bucket size
146147
&workqueue.BucketRateLimiter{Limiter: rate.NewLimiter(rate.Limit(10), 100)},
147148
),

0 commit comments

Comments
 (0)