mirror of
https://github.com/zulip/zulip.git
synced 2025-11-03 13:33:24 +00:00
rate_limit: Additionally limit to 2000 authenticated requests per hour.
This commit is contained in:
committed by
Tim Abbott
parent
421ba8afcf
commit
5c2b0d91d5
@@ -70,7 +70,8 @@ HTTP headers in all API responses:
|
||||
and can vary by server and over time. The default configuration
|
||||
currently limits:
|
||||
|
||||
* Every user is limited to 200 total API requests per minute.
|
||||
* Every user is limited to 200 total API requests per minute, and 2000
|
||||
total API requests per hour.
|
||||
* Separate, much lower limits for authentication/login attempts.
|
||||
|
||||
When the Zulip server has configured multiple rate limits that apply
|
||||
|
||||
@@ -266,6 +266,8 @@ DEFAULT_RATE_LIMITING_RULES = {
|
||||
"api_by_user": [
|
||||
# 200 requests per minute
|
||||
(60, 200),
|
||||
# 2000 requests per hour
|
||||
(3600, 2000),
|
||||
],
|
||||
# Limits total number of unauthenticated API requests (primarily
|
||||
# used by the public access option). Since these are
|
||||
|
||||
Reference in New Issue
Block a user