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: arguments accept units #1490

Merged
merged 8 commits into from
Feb 21, 2025
Merged

Conversation

mikeee
Copy link
Member

@mikeee mikeee commented Feb 20, 2025

max-body-size and read-buffer-size now accept units as defined in the docs.

Defaults of 4Mi and 4Ki respectively are also set

Fixes #1489

Description

Please explain the changes you've made

Issue reference

We strive to have all PR being opened based on an issue, where the problem or feature have been discussed prior to implementation.

Please reference the issue this PR will close: #[issue number]

Checklist

Please make sure you've completed the relevant tasks for this PR, out of the following list:

  • Code compiles correctly
  • Created/updated tests
  • Extended the documentation

`max-body-size` and `read-buffer-size` now accept units as defined in the docs.

Fixes dapr#1489

Signed-off-by: Mike Nguyen <[email protected]>
@mikeee mikeee requested review from a team as code owners February 20, 2025 12:59
@mikeee mikeee marked this pull request as draft February 20, 2025 15:33
Signed-off-by: Mike Nguyen <[email protected]>
@mikeee mikeee mentioned this pull request Feb 4, 2025
`max-body-size` is defaulted to 4Mi
`request-buffer-size` is defaulted to 4Ki

This is inline with the runtime.

Signed-off-by: Mike Nguyen <[email protected]>
@mikeee mikeee marked this pull request as ready for review February 20, 2025 18:22
Signed-off-by: Mike Nguyen <[email protected]>
Co-authored-by: Anton Troshin <[email protected]>
Signed-off-by: Mike Nguyen <[email protected]>
@mikeee mikeee requested a review from antontroshin February 21, 2025 15:47
@yaron2 yaron2 merged commit 0cd0585 into dapr:release-1.15 Feb 21, 2025
26 of 27 checks passed
@mikeee mikeee deleted the fix/mbs_and_rbs branch February 21, 2025 18:25
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