mirror of
https://github.com/element-hq/dendrite.git
synced 2025-09-13 12:52:24 +03:00
Add Cache-Control header to media endpoints (#2612)
* Add Cache-Control header * Raise rate_limiting threshold to 20
This commit is contained in:
parent
df5d4dc7a3
commit
ac2dbb3513
3 changed files with 5 additions and 2 deletions
|
@ -192,7 +192,7 @@ client_api:
|
|||
# and appservice users are exempt from rate limiting by default.
|
||||
rate_limiting:
|
||||
enabled: true
|
||||
threshold: 5
|
||||
threshold: 20
|
||||
cooloff_ms: 500
|
||||
exempt_user_ids:
|
||||
# - "@user:domain.com"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue