Make automatic Redis enabling safer, when Hookshot encryption enabled

If we ever default encryption to enabled for Hookshot, we only wish to force-enable Redis if Hookshot is actually enabled.
This commit is contained in:
Slavi Pantaleev 2023-12-16 09:02:47 +02:00 committed by GitHub
parent 75a8e0f2a6
commit 6a81fa208f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3359,7 +3359,7 @@ ntfy_visitor_request_limit_exempt_hosts_hostnames_auto: |
#
######################################################################
redis_enabled: "{{ matrix_synapse_workers_enabled or matrix_hookshot_experimental_encryption_enabled }}"
redis_enabled: "{{ matrix_synapse_workers_enabled or (matrix_hookshot_enabled and matrix_hookshot_experimental_encryption_enabled) }}"
redis_identifier: matrix-redis