mampf icon indicating copy to clipboard operation
mampf copied to clipboard

Better error handling for file uploads

Open fosterfarrell9 opened this issue 1 year ago • 2 comments

Currently, we have

client_max_body_size 4G;

in our config in docker/nginx.tmpl. A user tried to upload a 6GB video which conseqently failed. While I am not overly enthusiastic to rasing this to, say 8 GB, for resource reasons, maybe we should raise. Of course, I would alway encourage users to user better compression instead. Also, we might stop uploads of bigger files immediately with an error-message (as is done in the case of homework uploads). In the case above, the error message only came after the limit was reached during uploading.

fosterfarrell9 avatar May 03 '23 12:05 fosterfarrell9