summary refs log tree commit diff
path: root/docs
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2019-09-09 15:29:39 +0100
committerGitHub <noreply@github.com>2019-09-09 15:29:39 +0100
commit470dc621ae7e1f3013e78118cb18000873014f65 (patch)
treef6b8c849b25755143aba9bf8a1b3bc565e71c013 /docs
parentAdd a build info metric to Prometheus (#6005) (diff)
parentFix comments (diff)
downloadsynapse-470dc621ae7e1f3013e78118cb18000873014f65.tar.xz
Merge pull request #5934 from matrix-org/erikj/censor_redactions
Censor redactions in DB after a month
Diffstat (limited to 'docs')
-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 93c0edd8ce..9b1ae58a27 100644
--- a/docs/sample_config.yaml
+++ b/docs/sample_config.yaml
@@ -306,6 +306,13 @@ listeners:
 #
 #allow_per_room_profiles: false
 
+# 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.
+#
+# Defaults to `7d`. Set to `null` to disable.
+#
+redaction_retention_period: 7d
+
 
 ## TLS ##