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

Increase max body size to handle POST requests larger than 10MB #820

Merged
merged 1 commit into from
Nov 6, 2024

Conversation

showwin
Copy link
Contributor

@showwin showwin commented Nov 5, 2024

Context

A payload in some POST requests could be higher than 10MB, especially when users upload images or files.
Ideally, I want to increase the value to 50MB, but at the same time, I don't want to increase the memory allocation for the Nginx container to minimize the impact. So, I feel 30MB is the maximum acceptable value for 128MB memory allocation.

Copy link
Member

@Daivasmara Daivasmara left a comment

Choose a reason for hiding this comment

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

LGTM

@showwin
Copy link
Contributor Author

showwin commented Nov 6, 2024

@Daivasmara I intentionally didn't add the Slack link since this is a public repo 😄 (It's safe though)

@showwin showwin merged commit 168defe into master Nov 6, 2024
6 checks passed
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