-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
improve ratelimit doc #11654
improve ratelimit doc #11654
Conversation
@kyessenov can you review this? it seems good at first pass, but i'd like a more rate-limit savvy set of eyes to confirm. |
@kyessenov Any thoughts? Thanks. |
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.
Thanks, this is great, definitely improving the doc.
# wait a while for envoyfilter | ||
sleep 1s | ||
|
||
for i in {1..10}; do | ||
echo "$i" | ||
snip_verify_local_rate_limit_1 | ||
done |
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.
Is this just extra debugging? The verify_same should repeat the snip_verify_local_rate_limit_1 and compare output until the condition is met or the retries have expired.
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.
you're right, I misunderstand the usage of _verify_same
.
will fix this, thanks!
snip_global_rate_limit_4 | ||
|
||
# verify global ratelimit | ||
snip_verify_global_rate_limit_1 |
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 don't think this line is needed, as it's done as part of the next line.
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.
updated
In response to a cherrypick label: new pull request created: #11717 |
Please provide a description for what this PR is for.
fix: #10372
And to help us figure out who should review this PR, please
put an X in all the areas that this PR affects.