浏览代码

synapse - update retention purge jobs template

pull/3792/head
Aine 1年前
父节点
当前提交
7fc8509f04
找不到此签名对应的密钥 GPG 密钥 ID: 34969C908CCA2804
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      roles/custom/matrix-synapse/templates/synapse/homeserver.yaml.j2

+ 1
- 1
roles/custom/matrix-synapse/templates/synapse/homeserver.yaml.j2 查看文件

@@ -651,7 +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 is not none %}
{% 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 %}


正在加载...
取消
保存