mirror of
https://github.com/spantaleev/matrix-docker-ansible-deploy.git
synced 2024-12-22 12:35:51 +00:00
Enable HTTP resources for new worker types
This commit is contained in:
parent
a1cbe7f39b
commit
0dbdaf5b9f
@ -7,10 +7,17 @@ worker_log_config: /data/{{ matrix_server_fqn_matrix }}.log.config
|
||||
|
||||
{% set http_resources = [] %}
|
||||
|
||||
{% if matrix_synapse_worker_details.type == 'user_dir' %}
|
||||
{% if matrix_synapse_worker_details.type == 'room_worker' %}
|
||||
{% set http_resources = http_resources + ['client', 'federation'] %}
|
||||
{% elif matrix_synapse_worker_details.type == 'sync_worker' %}
|
||||
{% set http_resources = http_resources + ['client'] %}
|
||||
{% endif %}
|
||||
{% if matrix_synapse_worker_details.type == 'generic_worker' %}
|
||||
{% elif matrix_synapse_worker_details.type == 'client_reader' %}
|
||||
{% set http_resources = http_resources + ['client'] %}
|
||||
{% elif matrix_synapse_worker_details.type == 'federation_reader' %}
|
||||
{% set http_resources = http_resources + ['federation'] %}
|
||||
{% elif matrix_synapse_worker_details.type == 'user_dir' %}
|
||||
{% set http_resources = http_resources + ['client'] %}
|
||||
{% elif matrix_synapse_worker_details.type == 'generic_worker' %}
|
||||
{% set http_resources = http_resources + ['client', 'federation'] %}
|
||||
{% endif %}
|
||||
{#
|
||||
|
Loading…
Reference in New Issue
Block a user