From a1e6a57d0e1048d95ac404109a9831742b8a0e1b Mon Sep 17 00:00:00 2001 From: Zacharias Zacharodimos Date: Tue, 17 Oct 2023 17:38:44 +0200 Subject: [PATCH] config: set correct files sizes --- invenio.cfg | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/invenio.cfg b/invenio.cfg index 132a8376..5d1dbc21 100644 --- a/invenio.cfg +++ b/invenio.cfg @@ -600,6 +600,9 @@ ZENODO_EOS_OFFLOAD_ENABLED = False ZENODO_EOS_OFFLOAD_HTTPHOST = "" ZENODO_EOS_OFFLOAD_REDIRECT_BASE_PATH = "" +FILES_REST_DEFAULT_QUOTA_SIZE = 5*10**10 +FILES_REST_DEFAULT_MAX_FILE_SIZE = 5*10**10 + # Rate limiting RATELIMIT_PER_ENDPOINT = { @@ -620,7 +623,7 @@ RATELIMIT_PER_ENDPOINT = { 'invenio_app_rdm_records.record_thumbnail': '20 per second', # OAI-PMH 'invenio_oaiserver.response': '120 per minute', - # 'zenodo_redirector.contact': '10 per second', + # 'zenodo_redirector.contact': '10 per second', # TODO most similar view found was: invenio_redirector.redirect_contact } """Rate limits per endpoint."""