summary refs log tree commit diff
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2019-09-11 10:58:26 +0100
committerErik Johnston <erik@matrix.org>2019-09-12 13:27:52 +0100
commit059369dd049731aac79aff2d46c196429535a2a7 (patch)
treee8a47fb2d94ecae351cd7c7c3b272044e3a2ea97
parentNewsfile (diff)
downloadsynapse-059369dd049731aac79aff2d46c196429535a2a7.tar.xz
Update sample config
-rw-r--r--docs/sample_config.yaml7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/sample_config.yaml b/docs/sample_config.yaml
index 0c6be30e51..4566d6db1c 100644
--- a/docs/sample_config.yaml
+++ b/docs/sample_config.yaml
@@ -510,6 +510,9 @@ log_config: "CONFDIR/SERVERNAME.log.config"
 #   - one for login that ratelimits login requests based on the account the
 #     client is attempting to log into, based on the amount of failed login
 #     attempts for this account.
+#   - one for ratelimiting redactions by room admins. If this is not explicitly
+#     set then it uses the same ratelimiting as per rc_message. This is useful
+#     to allow room admins to quickly deal with abuse quickly.
 #
 # The defaults are as shown below.
 #
@@ -531,6 +534,10 @@ log_config: "CONFDIR/SERVERNAME.log.config"
 #  failed_attempts:
 #    per_second: 0.17
 #    burst_count: 3
+#
+#rc_admin_redaction:
+#  per_second: 1
+#  burst_count: 50
 
 
 # Ratelimiting settings for incoming federation