Explorar el Código

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 hace 2 años
committed by GitHub
padre
commit
06047763bb
No se encontró ninguna clave conocida en la base de datos para esta firma ID de clave GPG: 4AEE18F83AFDEB23
Se han modificado 1 ficheros con 3 adiciones y 3 borrados
  1. +3
    -3
      roles/custom/matrix-bridge-hookshot/templates/config.yml.j2

+ 3
- 3
roles/custom/matrix-bridge-hookshot/templates/config.yml.j2 Ver fichero

@@ -107,11 +107,11 @@ metrics:
# (Optional) Prometheus metrics support # (Optional) Prometheus metrics support
# #
enabled: {{ matrix_hookshot_metrics_enabled | to_json }} 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: queue:
monolithic: true 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 %} {% endif %}
{% if matrix_hookshot_experimental_encryption_enabled %} {% if matrix_hookshot_experimental_encryption_enabled %}
experimentalEncryption: experimentalEncryption:


Cargando…
Cancelar
Guardar