summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2020-03-20 17:00:26 +0000
committerAndrew Morgan <andrew@amorgan.xyz>2020-03-20 17:00:26 +0000
commit04507040714f84935b89ce7b4a87bf6729cc49a9 (patch)
treed5c5c780a8c3175c0e0adb5516238afefd323dc9 /synapse
parent1.8.0rc1 (diff)
parentMerge pull request #6621 from matrix-org/babolivier/purge_job_config_typo (diff)
downloadsynapse-04507040714f84935b89ce7b4a87bf6729cc49a9.tar.xz
Merge pull request #6621 from matrix-org/babolivier/purge_job_config_typo
* commit '2b6b7f482':
  Reword
  Change the example from 5min to 12h
  Fixup changelog
  Fixup changelog
  Fixup changelog
  Changelog
  Update sample config
  Fix a typo in the purge jobs configuration example
Diffstat (limited to 'synapse')
-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 b50149f0d4..d35154716b 100644 --- a/synapse/config/server.py +++ b/synapse/config/server.py
@@ -1022,17 +1022,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() )