mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-12-28 03:48:33 +01:00
synapse - update retention purge jobs template
This commit is contained in:
parent
7e45325338
commit
7fc8509f04
@ -651,7 +651,7 @@ retention:
|
|||||||
# room's policy to these values is done after the policies are retrieved from
|
# room's policy to these values is done after the policies are retrieved from
|
||||||
# Synapse's database (which is done using the range specified in a purge job's
|
# Synapse's database (which is done using the range specified in a purge job's
|
||||||
# configuration).
|
# configuration).
|
||||||
{% if matrix_synapse_retention_purge_jobs is not none %}
|
{% if matrix_synapse_retention_purge_jobs | length > 0 %}
|
||||||
purge_jobs:
|
purge_jobs:
|
||||||
{% for job in matrix_synapse_retention_purge_jobs %}
|
{% for job in matrix_synapse_retention_purge_jobs %}
|
||||||
- {% if job.longest_max_lifetime is defined %}longest_max_lifetime: {{ job.longest_max_lifetime|to_json }}{% endif %}
|
- {% if job.longest_max_lifetime is defined %}longest_max_lifetime: {{ job.longest_max_lifetime|to_json }}{% endif %}
|
||||||
|
Loading…
Reference in New Issue
Block a user