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

Make file_upload_handler stop early when low disk space #4038

Merged
merged 1 commit into from
Oct 1, 2020

Conversation

Rytiss
Copy link
Contributor

@Rytiss Rytiss commented Sep 28, 2020

Description of the Change
Currently file_upload_handler stops accepting new uploads when there is less than 1MB free disk space. That is too late as multiple concurrent writes can hit the disk limits, so increasing this limit to 1GB and making it configurable instead of using a hardcoded constant.

Alternate Designs
Could also read from config file, but this would entail more disk accesses where they aren't really needed.

Release Notes
Make file_upload_handler stop accepting uploads early when low disk space

@davidpanderson davidpanderson merged commit 11af93e into master Oct 1, 2020
@AenBleidd AenBleidd added this to the Server milestone Oct 1, 2020
@AenBleidd AenBleidd deleted the Rytiss-fuh_disk branch August 15, 2023 09:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

3 participants