diff options
author | Erik Johnston <erik@matrix.org> | 2019-09-09 15:29:39 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-09 15:29:39 +0100 |
commit | 470dc621ae7e1f3013e78118cb18000873014f65 (patch) | |
tree | f6b8c849b25755143aba9bf8a1b3bc565e71c013 /docs | |
parent | Add a build info metric to Prometheus (#6005) (diff) | |
parent | Fix comments (diff) | |
download | synapse-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.yaml | 7 |
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 ## |