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 28454b9 commit 106b88c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
Changes
=======

Version 0.7.2 (UNRELEASED)
--------------------------

- Changes rate limiting defaults to allow up to 20 connections per second.

Version 0.7.1 (2020-11-10)
--------------------------

Expand Down
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 106b88c

Please sign in to comment.