summary refs log tree commit diff
path: root/synapse/config/server.py
diff options
context:
space:
mode:
authorBrendan Abolivier <babolivier@matrix.org>2020-01-07 16:17:40 +0100
committerGitHub <noreply@github.com>2020-01-07 16:17:40 +0100
commit2b6b7f482aa947e678017dd8c41a2f9f5b80dfaf (patch)
tree55cd3f5d96a47b0151ed8c4e76fb3002ee1ab1ca /synapse/config/server.py
parentFixup changelog (diff)
parentReword (diff)
downloadsynapse-2b6b7f482aa947e678017dd8c41a2f9f5b80dfaf.tar.xz
Merge pull request #6621 from matrix-org/babolivier/purge_job_config_typo
Fix a typo in the purge jobs configuration example
Diffstat (limited to 'synapse/config/server.py')
-rw-r--r--synapse/config/server.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/synapse/config/server.py b/synapse/config/server.py
index 38f6ff9edc..9ac112233b 100644
--- a/synapse/config/server.py
+++ b/synapse/config/server.py
@@ -948,17 +948,17 @@ class ServerConfig(Config):
           #
           # The rationale for this per-job configuration is that some rooms might have a
           # retention policy with a low 'max_lifetime', where history needs to be purged
-          # of outdated messages on a very frequent basis (e.g. every 5min), but not want
-          # that purge to be performed by a job that's iterating over every room it knows,
-          # which would be quite heavy on the server.
+          # of outdated messages on a more frequent basis than for the rest of the rooms
+          # (e.g. every 12h), but not want that purge to be performed by a job that's
+          # iterating over every room it knows, which could be heavy on the server.
           #
           #purge_jobs:
           #  - shortest_max_lifetime: 1d
           #    longest_max_lifetime: 3d
-          #    interval: 5m:
+          #    interval: 12h
           #  - shortest_max_lifetime: 3d
           #    longest_max_lifetime: 1y
-          #    interval: 24h
+          #    interval: 1d
         """
             % locals()
         )