mirror of
https://github.com/Cian-H/invenio-config-iform.git
synced 2025-12-22 21:11:57 +00:00
config: add deposit form quota variable (#91)
This commit is contained in:
@@ -269,6 +269,17 @@ Available options:
|
||||
- ``off``: Only show person form (no search field).
|
||||
"""
|
||||
|
||||
APP_RDM_DEPOSIT_FORM_QUOTA = {
|
||||
"maxFiles": 100,
|
||||
# Easiest way to set this to a certain amount is to start from 1 Gb
|
||||
# and go from there:
|
||||
# 1 Gb: 10 ** 9
|
||||
# 50 Gb: 10 ** 9 * 50
|
||||
# 100 Mb: 10 ** 9 * 0.1
|
||||
"maxStorage": 10 ** 9 * 10,
|
||||
}
|
||||
"""Deposit file upload quota """
|
||||
|
||||
SQLALCHEMY_ECHO = False
|
||||
"""Enable to see all SQL queries."""
|
||||
|
||||
|
||||
Reference in New Issue
Block a user