aboutsummaryrefslogtreecommitdiff
path: root/dendrite-sample.monolith.yaml
diff options
context:
space:
mode:
Diffstat (limited to 'dendrite-sample.monolith.yaml')
-rw-r--r--dendrite-sample.monolith.yaml5
1 files changed, 4 insertions, 1 deletions
diff --git a/dendrite-sample.monolith.yaml b/dendrite-sample.monolith.yaml
index e974dbcb..ce5da278 100644
--- a/dendrite-sample.monolith.yaml
+++ b/dendrite-sample.monolith.yaml
@@ -160,11 +160,14 @@ client_api:
# Settings for rate-limited endpoints. Rate limiting kicks 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.
+ # will be released after the cooloff time in milliseconds. Server administrators
+ # and appservice users are exempt from rate limiting by default.
rate_limiting:
enabled: true
threshold: 5
cooloff_ms: 500
+ exempt_user_ids:
+ # - @user:domain.com
# Configuration for the Federation API.
federation_api: