Просмотр исходного кода

split if statements for the message queue and experimental encryption support into seperate statements

pull/3042/head
Joshua Hoffmann 2 лет назад
Родитель
Сommit
69f947782d
1 измененных файлов: 5 добавлений и 3 удалений
  1. +5
    -3
      roles/custom/matrix-bridge-hookshot/templates/config.yml.j2

+ 5
- 3
roles/custom/matrix-bridge-hookshot/templates/config.yml.j2 Просмотреть файл

@@ -107,11 +107,13 @@ metrics:
# (Optional) Prometheus metrics support
#
enabled: {{ matrix_hookshot_metrics_enabled | to_json }}
{% if matrix_hookshot_experimental_encryption_enabled %}
{% if matrix_hookshot_queue_host is defined and matrix_hookshot_queue_host|d('')|length > 0 %} %}
queue:
monolithic: true
port: 6379
host: matrix-redis
port: {{ matrix_hookshot_queue_port | default('6379') }}
host: {{ matrix_hookshot_queue_host }}
{& endif %}
{% if matrix_hookshot_experimental_encryption_enabled %}
experimentalEncryption:
storagePath: /data/encryption
{% endif %}


Загрузка…
Отмена
Сохранить