mirror of
https://github.com/wahyd4/cert-manager.git
synced 2026-08-13 15:15:55 +10:00
Merge pull request #1118 from munnerz/controller-remove-rate-limit
Only add resources to the rate limited queue when an error occurs
This commit is contained in:
@@ -45,7 +45,7 @@ func (q *QueuingEventHandler) Enqueue(obj interface{}) {
|
||||
runtime.HandleError(err)
|
||||
return
|
||||
}
|
||||
q.Queue.AddRateLimited(key)
|
||||
q.Queue.Add(key)
|
||||
}
|
||||
|
||||
func (q *QueuingEventHandler) OnAdd(obj interface{}) {
|
||||
|
||||
Reference in New Issue
Block a user