Skip to content
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

Fix name and default of log burst size #6230

Merged
merged 1 commit into from
Oct 10, 2023
Merged

Fix name and default of log burst size #6230

merged 1 commit into from
Oct 10, 2023

Conversation

bboreham
Copy link
Contributor

@bboreham bboreham commented Oct 5, 2023

What this PR does

This parameter is a size, not a rate. Name it correctly.

Also, I don't think we want processes to be able to output 25,000 lines instantaneously - that's what the rate limit was intended to avoid. Changed the default to 1,000.

Checklist

  • [NA] Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

@bboreham bboreham requested a review from a team as a code owner October 5, 2023 14:14
Copy link
Contributor

@dimitarvdimitrov dimitarvdimitrov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the docs about experimental features should also be updated. They mention the old flag name

- Logger
- Rate limited logger support
- `log.rate-limit-enabled`
- `log.rate-limit-logs-per-second`
- `log.rate-limit-logs-per-second-burst`

This parameter is a _size_, not a _rate_.  Name it correctly.
Also, I don't think we want processes to be able to output 25,000
lines instantaneously - that's what the rate limit was intended to avoid.
Changed the default to 1,000.
@bboreham bboreham requested a review from a team as a code owner October 10, 2023 13:56
@bboreham bboreham enabled auto-merge (squash) October 10, 2023 13:57
@bboreham bboreham merged commit 71da198 into main Oct 10, 2023
28 checks passed
@bboreham bboreham deleted the fix-burst-desc branch October 10, 2023 14:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants