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

When attempting to upload a large file, MyTardis should give an error, not fail silently #1343

Open
wettenhj opened this issue Oct 23, 2018 · 0 comments

Comments

@wettenhj
Copy link
Contributor

There are known issues with MyTardis using too much memory (on the server) when we allow large file uploads (> 1 GB), so we usually restrict the maximum file upload size in our nginx config, and since Django 1.10, there's also the DATA_UPLOAD_MAX_MEMORY_SIZE setting which we override in our tardis/default_settings/uploads.py. If a user attempts to upload one or more files which exceed this limit, MyTardis should display a user-friendly error, instead of failing silently.

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

No branches or pull requests

1 participant