-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use quota manager to calculate "active project storage used".
The 'active_project_storage_used' method is used to report "how much of the storage allowance for the given project submission has been used." (The name suggests that this is somehow similar to 'published_project_storage_used', but this is not the case: *that* method is used to inform visitors "how large will the project files be if I download all of them", which is only tangentially related to the resource usage that a particular submission is responsible for.) Reporting (as well as limiting) resource usage is the task of the QuotaManager. Use the QuotaManager API and remove the redundant ProjectFiles API.
- Loading branch information
Benjamin Moody
committed
Sep 22, 2023
1 parent
89755b1
commit 4152ef0
Showing
4 changed files
with
1 addition
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters