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

repoQuota Plugin is only working after the quota is exceeded but not checking before that #346

Open
lsauer opened this issue Dec 4, 2020 · 0 comments

Comments

@lsauer
Copy link

lsauer commented Dec 4, 2020

As long as the Quota has not exceeded, one can still exceed the Quota by far, by uploading a very large file.
Only once the quota is already exceeded does the Quota mechanism work.
It would be great to define a upper tolerance limit, after which any upload fails. For instance, a repo still has 50MB left, the entire Quota is 1GB. Then tolerance is 5% of 1GB, which is 50MB. So If a user uploads now a file that exceeds 100MB then the upload should fail

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