mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-25 19:15:51 +03:00
Merge pull request #6621 from matrix-org/babolivier/purge_job_config_typo
Fix a typo in the purge jobs configuration example
This commit is contained in:
commit
2b6b7f482a
3 changed files with 11 additions and 10 deletions
1
changelog.d/6621.doc
Normal file
1
changelog.d/6621.doc
Normal file
|
@ -0,0 +1 @@
|
||||||
|
Fix a typo in the configuration example for purge jobs in the sample configuration file.
|
|
@ -387,17 +387,17 @@ retention:
|
||||||
#
|
#
|
||||||
# The rationale for this per-job configuration is that some rooms might have a
|
# 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
|
# 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
|
# of outdated messages on a more frequent basis than for the rest of the rooms
|
||||||
# that purge to be performed by a job that's iterating over every room it knows,
|
# (e.g. every 12h), but not want that purge to be performed by a job that's
|
||||||
# which would be quite heavy on the server.
|
# iterating over every room it knows, which could be heavy on the server.
|
||||||
#
|
#
|
||||||
#purge_jobs:
|
#purge_jobs:
|
||||||
# - shortest_max_lifetime: 1d
|
# - shortest_max_lifetime: 1d
|
||||||
# longest_max_lifetime: 3d
|
# longest_max_lifetime: 3d
|
||||||
# interval: 5m:
|
# interval: 12h
|
||||||
# - shortest_max_lifetime: 3d
|
# - shortest_max_lifetime: 3d
|
||||||
# longest_max_lifetime: 1y
|
# longest_max_lifetime: 1y
|
||||||
# interval: 24h
|
# interval: 1d
|
||||||
|
|
||||||
|
|
||||||
## TLS ##
|
## TLS ##
|
||||||
|
|
|
@ -948,17 +948,17 @@ class ServerConfig(Config):
|
||||||
#
|
#
|
||||||
# The rationale for this per-job configuration is that some rooms might have a
|
# 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
|
# 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
|
# of outdated messages on a more frequent basis than for the rest of the rooms
|
||||||
# that purge to be performed by a job that's iterating over every room it knows,
|
# (e.g. every 12h), but not want that purge to be performed by a job that's
|
||||||
# which would be quite heavy on the server.
|
# iterating over every room it knows, which could be heavy on the server.
|
||||||
#
|
#
|
||||||
#purge_jobs:
|
#purge_jobs:
|
||||||
# - shortest_max_lifetime: 1d
|
# - shortest_max_lifetime: 1d
|
||||||
# longest_max_lifetime: 3d
|
# longest_max_lifetime: 3d
|
||||||
# interval: 5m:
|
# interval: 12h
|
||||||
# - shortest_max_lifetime: 3d
|
# - shortest_max_lifetime: 3d
|
||||||
# longest_max_lifetime: 1y
|
# longest_max_lifetime: 1y
|
||||||
# interval: 24h
|
# interval: 1d
|
||||||
"""
|
"""
|
||||||
% locals()
|
% locals()
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue