From 0c2313fc24fb2be2f0e45cbd2bb6ae3ef71b91b0 Mon Sep 17 00:00:00 2001 From: Andrew Morgan Date: Wed, 10 Aug 2022 15:09:04 +0100 Subject: [PATCH 1/2] Note that redacted event purging runs every 5m --- docs/usage/configuration/config_documentation.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/usage/configuration/config_documentation.md b/docs/usage/configuration/config_documentation.md index 2af32a615549..bc3d2bec6a07 100644 --- a/docs/usage/configuration/config_documentation.md +++ b/docs/usage/configuration/config_documentation.md @@ -759,6 +759,10 @@ allowed_avatar_mimetypes: ["image/png", "image/jpeg", "image/gif"] 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. +Synapse will check whether the rentention period has concluded for redacted +events every 5 minutes. Thus, even if this option is set to `0`, Synapse may +still take up to 5 minutes to purge redacted events from the database. + Defaults to `7d`. Set to `null` to disable. Example configuration: From 09d59e07494297477b186ea0c535ca3def91878a Mon Sep 17 00:00:00 2001 From: Andrew Morgan Date: Wed, 10 Aug 2022 15:13:21 +0100 Subject: [PATCH 2/2] changelog --- changelog.d/13492.doc | 1 + 1 file changed, 1 insertion(+) create mode 100644 changelog.d/13492.doc diff --git a/changelog.d/13492.doc b/changelog.d/13492.doc new file mode 100644 index 000000000000..fc4850d556f2 --- /dev/null +++ b/changelog.d/13492.doc @@ -0,0 +1 @@ +Document that event purging related to the `redaction_retention_period` config option is executed only every 5 minutes.