You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Among them, it is recommended to use a new construction method for RateLimitingQueue
We can see from the workqueue in the client-go package that it would be better to use NewRateLimitingQueueWithConfig instead
// NewNamedRateLimitingQueue constructs a new named workqueue with rateLimited queuing ability.
// Deprecated: Use NewRateLimitingQueueWithConfig instead.
func NewNamedRateLimitingQueue(rateLimiter RateLimiter, name string) RateLimitingInterface {
return NewRateLimitingQueueWithConfig(rateLimiter, RateLimitingQueueConfig{
Name: name,
})
}
I think it is possible to add new features to RateLimitingQueueConfig in the future
The content you are editing has changed. Please copy your edits and refresh the page.
I found that when creating a controller, the method of constructing workqueue has been enabled
Among them, it is recommended to use a new construction method for RateLimitingQueue
We can see from the workqueue in the
client-go
package that it would be better to use NewRateLimitingQueueWithConfig insteadI think it is possible to add new features to RateLimitingQueueConfig in the future
Tasks
The text was updated successfully, but these errors were encountered: