mirror of
https://github.com/Cian-H/am-d-model.eu.git
synced 2025-12-22 21:41:57 +00:00
Attempt to fix large file uploads
This commit is contained in:
@@ -199,9 +199,17 @@ INSTANCE_THEME_FILE = "./less/theme.less"
|
||||
# Invenio-Files-Rest
|
||||
# ==================
|
||||
FILES_REST_STORAGE_FACTORY = "invenio_s3.s3fs_storage_factory"
|
||||
FILES_REST_MAX_CONTENT_LENGTH = 50 * 1024 * 1024 * 1024 # 50GB
|
||||
FILES_REST_MULTIPART_CHUNKSIZE_MIN = 5 * 1024 * 1024 # 5MB minimum
|
||||
FILES_REST_MULTIPART_MAX_PARTS = 10000 # Allow more parts for large files
|
||||
FILES_REST_MAX_CONTENT_LENGTH = 1024**4 # 1TB
|
||||
FILES_REST_MULTIPART_CHUNKSIZE_MIN = 5 * 1024**2 # 5MB minimum
|
||||
FILES_REST_MULTIPART_MAX_PARTS = 250 # Allow more parts for large files
|
||||
RDM_FILES_DEFAULT_MAX_FILE_SIZE = 1024**4 # 1TB
|
||||
RDM_FILES_DEFAULT_QUOTA_SIZE = 1024**4 # 1TB
|
||||
FILES_REST_DEFAULT_MAX_FILE_SIZE = 1024**4 # 1TB
|
||||
FILES_REST_DEFAULT_QUOTA_SIZE = 1024**4 # 1TB
|
||||
APP_RDM_DEPOSIT_FORM_QUOTA = {
|
||||
"maxFiles": 250,
|
||||
"maxStorage": 1024**4, # 1TB
|
||||
}
|
||||
|
||||
# Invenio-S3
|
||||
# ==========
|
||||
|
||||
Reference in New Issue
Block a user