소스 검색

adjust synapse purge jobs template

pull/3797/head
Aine 1 년 전
부모
커밋
769a31d3ca
No known key found for this signature in database GPG 키 ID: 34969C908CCA2804
1개의 변경된 파일1개의 추가작업 그리고 8개의 파일을 삭제
  1. +1
    -8
      roles/custom/matrix-synapse/templates/synapse/homeserver.yaml.j2

+ 1
- 8
roles/custom/matrix-synapse/templates/synapse/homeserver.yaml.j2 파일 보기

@@ -651,14 +651,7 @@ retention:
# 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
# configuration).
{% if matrix_synapse_retention_purge_jobs | length > 0 %}
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.shortest_max_lifetime is defined %}shortest_max_lifetime: {{ job.shortest_max_lifetime|to_json }}{% endif %}
{% if job.interval is defined %}interval: {{ job.interval|to_json }}{% endif %}
{% endfor %}
{% endif %}
purge_jobs: {{ matrix_synapse_retention_purge_jobs | to_json }}
{% endif %}




불러오는 중...
취소
저장