Closed gaocegege closed 4 years ago
I think the reason is that only it exists error , call c.workqueue.AddRateLimited(key) .
// Put the item back on the workqueue to handle any transient errors.
But if it exists any informer update, call enqueueFoo.Don't need error occurs.
Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale
.
Stale issues rot after an additional 30d of inactivity and eventually close.
If this issue is safe to close now please do so with /close
.
Send feedback to sig-testing, kubernetes/test-infra and/or fejta. /lifecycle stale
Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten
.
Rotten issues close after an additional 30d of inactivity.
If this issue is safe to close now please do so with /close
.
Send feedback to sig-testing, kubernetes/test-infra and/or fejta. /lifecycle rotten
/close
@gaocegege: Closing this issue.
Hi I have a question about the usage of workqueue in the sample controller.
We are using workqueue.RateLimitingInterface as the work queue, but we only use AddRateLimited in
processNextWorkItem
.In
enqueueFoo
, we use Add instead. Is there any convention about it?