-
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.
Move logic of QuotaManager creation into ProjectFiles.
Quota management behavior depends on the project file storage. For GCS storage, a GCSQuotaManager is required. (Until now, the SubmissionInfo.quota_manager method has been broken on GCS, and the GCS backend has carefully avoided using this API - which unfortunately has also blocked development of the quota system.) Rather than including this logic in SubmissionInfo, it seemingly makes more sense for quota policy to be part of ProjectFiles; so a new abstract method 'project_quota_manager' is defined.
- Loading branch information
Benjamin Moody
committed
Sep 22, 2023
1 parent
be02787
commit 89755b1
Showing
4 changed files
with
32 additions
and
14 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