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

Remove request body limit to accomodate growing auction instances #80

Merged
merged 2 commits into from
Oct 23, 2024

Conversation

MartinquaXD
Copy link
Contributor

axum by default has a requests body limit of 2MB so when auction instances become bigger than that due to too many orders axum rejects the request before any handler gets the chance to see it.

I now removed the request limit altogether since these endpoints are not exposed to the public so we don't have to worry about malicious spam.

@MartinquaXD MartinquaXD enabled auto-merge (squash) October 23, 2024 10:30
@MartinquaXD MartinquaXD changed the title Bump max request size limit to 30M Remove request body limit to accomodate growing auction instances Oct 23, 2024
@MartinquaXD MartinquaXD merged commit 188ac64 into main Oct 23, 2024
3 checks passed
@MartinquaXD MartinquaXD deleted the bump-max-request-size-limit branch October 23, 2024 10:36
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.

2 participants