Skip to content

Commit

Permalink
config: set correct files sizes
Browse files Browse the repository at this point in the history
  • Loading branch information
zzacharo committed Oct 17, 2023
1 parent e16881a commit a1e6a57
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion invenio.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand All @@ -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."""
Expand Down

0 comments on commit a1e6a57

Please sign in to comment.