Skip to content

Commit

Permalink
Set default THROTTLE_MAX_COUNT value to 300
Browse files Browse the repository at this point in the history
  • Loading branch information
mathjazz committed Oct 10, 2024
1 parent d51a648 commit 751ebec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pontoon/settings/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ def _default_from_email():
THROTTLE_ENABLED = os.environ.get("THROTTLE_ENABLED", "False") != "False"

# Maximum number of requests allowed in THROTTLE_OBSERVATION_PERIOD
THROTTLE_MAX_COUNT = int(os.environ.get("THROTTLE_MAX_COUNT", "100"))
THROTTLE_MAX_COUNT = int(os.environ.get("THROTTLE_MAX_COUNT", "300"))

# A period (in seconds) in which THROTTLE_MAX_COUNT requests are allowed.
# If longer than THROTTLE_BLOCK_DURATION, THROTTLE_BLOCK_DURATION will be used.
Expand Down

0 comments on commit 751ebec

Please sign in to comment.