diff options
Diffstat (limited to 'example/config.yaml')
-rw-r--r-- | example/config.yaml | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/example/config.yaml b/example/config.yaml index 37ee84c09..03c9c74cd 100644 --- a/example/config.yaml +++ b/example/config.yaml @@ -641,9 +641,11 @@ syslog-address: "localhost:514" # Default: "lax" advanced-cookies-samesite: "lax" -# Int. Amount of requests to permit from a single IP address within a span of 5 minutes. -# If this amount is exceeded, a 429 HTTP error code will be returned. -# See https://docs.gotosocial.org/en/latest/api/swagger/#rate-limit. +# Int. Amount of requests to permit per router grouping from a single IP address within +# a span of 5 minutes. If this amount is exceeded, a 429 HTTP error code will be returned. +# +# Router groupings and rate limit headers are described here: +# https://docs.gotosocial.org/en/latest/api/swagger/#rate-limit. # # If you find yourself adjusting this limit because it's regularly being exceeded, # you should first verify that your settings for `trusted-proxies` (above) are correct. @@ -655,5 +657,5 @@ advanced-cookies-samesite: "lax" # If you set this to 0 or less, rate limiting will be disabled entirely. # # Examples: [1000, 500, 0] -# Default: 1000 -advanced-rate-limit-requests: 1000 +# Default: 300 +advanced-rate-limit-requests: 300 |