-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
(wip) gonfidel/implement-weighted-queues #3
Conversation
@@ -71,7 +71,7 @@ func GetResourceGraphDefinitionInstanceGVK(group, apiVersion, kind string) schem | |||
func GetResourceGraphDefinitionInstanceGVR(group, apiVersion, kind string) schema.GroupVersionResource { | |||
pluralKind := flect.Pluralize(strings.ToLower(kind)) | |||
return schema.GroupVersionResource{ | |||
Group: fmt.Sprintf("%s.%s", pluralKind, group), | |||
Group: group, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is also remediated in kro-run#305 and is related to a bug that causes queues and informers to fail cleanup
weight: weight, | ||
queue: workqueue.NewNamedRateLimitingQueue( | ||
workqueue.NewTypedMaxOfRateLimiter( | ||
workqueue.NewTypedItemExponentialFailureRateLimiter[any](200*time.Millisecond, 1000*time.Second), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Old rate limiter types were failing linting due to deprecation warnings. New rate limiters support types. I believe any
IS what we want here but feel free to correct me.
Linked to issue kro-run#198