Skip to content

Commit

Permalink
fix project quota default usage
Browse files Browse the repository at this point in the history
  • Loading branch information
SandraMonnier committed Jan 8, 2024
1 parent 4642ea5 commit 4228db2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -327,8 +327,8 @@ public static Long getJcrRepositoryFileSizeLimit() {
*/
public static Long getJcrRepositoryProjectQuota() {
var value = System.getProperty(JCR_REPOSITORY_PROJECT_QUOTA_MB,
JCR_REPOSITORY_MAX_FILE_SIZE_MB_DEFAULT);
var parsed = tryParsePositive(value, JCR_REPOSITORY_MAX_FILE_SIZE_MB_DEFAULT);
JCR_REPOSITORY_PROJECT_QUOTA_MB_DEFAULT);
var parsed = tryParsePositive(value, JCR_REPOSITORY_PROJECT_QUOTA_MB_DEFAULT);
return parsed << 20;// convert to bytes
}

Expand Down

0 comments on commit 4228db2

Please sign in to comment.