diff options
Diffstat (limited to 'dendrite-config.yaml')
-rw-r--r-- | dendrite-config.yaml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/dendrite-config.yaml b/dendrite-config.yaml index 23f142a8..570669c1 100644 --- a/dendrite-config.yaml +++ b/dendrite-config.yaml @@ -133,6 +133,14 @@ client_api: turn_username: "" turn_password: "" + # Settings for rate-limited endpoints. Rate limiting will kick in after the + # threshold number of "slots" have been taken by requests from a specific + # host. Each "slot" will be released after the cooloff time in milliseconds. + rate_limiting: + enabled: true + threshold: 5 + cooloff_ms: 500 + # Configuration for the Current State Server. current_state_server: internal_api: |