Procházet zdrojové kódy

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 před 2 roky
committed by GitHub
rodič
revize
06047763bb
V databázi nebyl nalezen žádný známý klíč pro tento podpis ID GPG klíče: 4AEE18F83AFDEB23
1 změnil soubory, kde provedl 3 přidání a 3 odebrání
  1. +3
    -3
      roles/custom/matrix-bridge-hookshot/templates/config.yml.j2

+ 3
- 3
roles/custom/matrix-bridge-hookshot/templates/config.yml.j2 Zobrazit soubor

@@ -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:


Načítá se…
Zrušit
Uložit