Skip to content

Commit d5c200c

Browse files
author
Diego Rodriguez
committed
config: increment default rate limiting
* Addresses reanahub/reana#286.
1 parent 0b8c40a commit d5c200c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

reana_server/config.py

+5
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,11 @@ def _(x):
116116
APP_DEFAULT_SECURE_HEADERS["content_security_policy"] = {}
117117
APP_HEALTH_BLUEPRINT_ENABLED = False
118118

119+
# Rate limiting configuration
120+
# ===========================
121+
RATELIMIT_AUTHENTICATED_USER = "20 per second"
122+
RATELIMIT_GUEST_USER = "20 per second"
123+
119124
# Flask-Breadcrumbs needs this variable set
120125
# =========================================
121126
BREADCRUMBS_ROOT = "breadcrumbs"

0 commit comments

Comments
 (0)