Skip to content

Commit

Permalink
Update roles/custom/matrix-bridge-hookshot/templates/config.yml.j2
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
real-joshua and spantaleev committed Dec 15, 2023
1 parent 66706e4 commit 0604776
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions roles/custom/matrix-bridge-hookshot/templates/config.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 0604776

Please sign in to comment.