summary refs log tree commit diff
diff options
context:
space:
mode:
authorBrendan Abolivier <babolivier@matrix.org>2020-01-07 14:54:32 +0000
committerBrendan Abolivier <babolivier@matrix.org>2020-01-07 14:54:32 +0000
commit391fb4779106a291724137e6c52494308729ffcb (patch)
treee5ee7ec44e22a460a6d7452b2fb15e76df493eb0
parentChange the example from 5min to 12h (diff)
downloadsynapse-391fb4779106a291724137e6c52494308729ffcb.tar.xz
Reword
-rw-r--r--docs/sample_config.yaml6
-rw-r--r--synapse/config/server.py6
2 files changed, 6 insertions, 6 deletions
diff --git a/docs/sample_config.yaml b/docs/sample_config.yaml
index 77a3fe6cd9..cec6b3e544 100644
--- a/docs/sample_config.yaml
+++ b/docs/sample_config.yaml
@@ -387,9 +387,9 @@ retention:
   #
   # 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 more frequent basis (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.
+  # 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
diff --git a/synapse/config/server.py b/synapse/config/server.py
index 11ff559224..9ac112233b 100644
--- a/synapse/config/server.py
+++ b/synapse/config/server.py
@@ -948,9 +948,9 @@ 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 more frequent basis (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.
+          # 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