Skip to content

Commit

Permalink
config: increment default rate limiting
Browse files Browse the repository at this point in the history
* Addresses reanahub/reana#286.
  • Loading branch information
Diego Rodriguez committed Nov 23, 2020
1 parent 0b8c40a commit d5c200c
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions reana_server/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,11 @@ def _(x):
APP_DEFAULT_SECURE_HEADERS["content_security_policy"] = {}
APP_HEALTH_BLUEPRINT_ENABLED = False

# Rate limiting configuration
# ===========================
RATELIMIT_AUTHENTICATED_USER = "20 per second"
RATELIMIT_GUEST_USER = "20 per second"

# Flask-Breadcrumbs needs this variable set
# =========================================
BREADCRUMBS_ROOT = "breadcrumbs"
Expand Down

0 comments on commit d5c200c

Please sign in to comment.