summary refs log tree commit diff
path: root/docs
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2019-09-09 13:40:05 +0100
committerErik Johnston <erik@matrix.org>2019-09-09 13:55:28 +0100
commit8b9ade8c7871c862cf2122a156f00e411cd7a276 (patch)
treecb8d04088089842ab0b2455712fe1e8ab099beae /docs
parentUse better names in SQL (diff)
downloadsynapse-8b9ade8c7871c862cf2122a156f00e411cd7a276.tar.xz
Default to censoring redactions after seven days
Diffstat (limited to 'docs')
-rw-r--r--docs/sample_config.yaml8
1 files changed, 5 insertions, 3 deletions
diff --git a/docs/sample_config.yaml b/docs/sample_config.yaml
index e23b80d2b8..24adc3da2f 100644
--- a/docs/sample_config.yaml
+++ b/docs/sample_config.yaml
@@ -306,10 +306,12 @@ listeners:
 #
 #allow_per_room_profiles: false
 
-# How long to keep redacted events in unredacted form in the database.
-# By default redactions are kept indefinitely.
+# How long to keep redacted events in unredacted form in the database. After
+# this period redacted events get replaced with their redacted form in the DB.
 #
-#redaction_retention_period: 30d
+# Defaults to `7d`. Set to `null` to disable.
+#
+redaction_retention_period: 7d
 
 
 ## TLS ##