Skip to content

Commit

Permalink
split if statements for the message queue and experimental encryption…
Browse files Browse the repository at this point in the history
… support into seperate statements
  • Loading branch information
real-joshua committed Dec 14, 2023
1 parent 4c13be1 commit 69f9477
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 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,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 %}
Expand Down

0 comments on commit 69f9477

Please sign in to comment.