ソースを参照

Update roles/custom/matrix-bridge-hookshot/templates/config.yml.j2

change the if statement to not require a variable with a length > 0 and add a filter to json for the redis host

Co-authored-by: Slavi Pantaleev <slavi@devture.com>
pull/3042/head
Joshua Hoffmann 2年前
committed by GitHub
コミット
06047763bb
この署名に対応する既知のキーがデータベースに存在しません GPGキーID: 4AEE18F83AFDEB23
1個のファイルの変更3行の追加3行の削除
  1. +3
    -3
      roles/custom/matrix-bridge-hookshot/templates/config.yml.j2

+ 3
- 3
roles/custom/matrix-bridge-hookshot/templates/config.yml.j2 ファイルの表示

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


読み込み中…
キャンセル
保存