-
Notifications
You must be signed in to change notification settings - Fork 600
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
add knobs for overriding qps / burst #3632
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: vaikas The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
cmd/mtchannel_broker/main.go
Outdated
clientQPS := flag.Float64("clientQPS", 5.0, "Overrides rest.Config.DefaultQPS.") | ||
clientBurst := flag.Int("clientBurst", 10.0, "Overrides rest.Config.Burst.") |
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.
clientQPS := flag.Float64("clientQPS", 5.0, "Overrides rest.Config.DefaultQPS.") | |
clientBurst := flag.Int("clientBurst", 10.0, "Overrides rest.Config.Burst.") | |
// TODO(https://github.com/knative/eventing/issues/3591): switch back to sharedmain.Main | |
clientQPS := flag.Float64("clientQPS", rest.DefaultQPS, "Overrides rest.Config.QPS.") | |
clientBurst := flag.Int("clientBurst", rest.DefaultBurst, "Overrides rest.Config.Burst.") |
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.
I can do this, but I think it would still be useful to expose some of these knobs for tuning things?
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.
In the context here, we are exposing the knobs to raise the limits due to that linked issue, which is why I thought it most relevant here.
I agree the knobs are useful, but they probably belong in sharedmain, and ideally this would go back to being a fairly thin invocation of that.
Thanks, PTAL. I don't understand the unnecessary import by sockpuppet. |
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.
/lgtm
The following jobs failed:
Automatically retrying due to test flakiness... |
Addresses #3591
Proposed Changes
Release Note
Docs