Restore support for appservice and user_dir workers

This commit is contained in:
Slavi Pantaleev
2022-09-15 10:00:57 +03:00
parent 8cd7c1ec2f
commit 5f3f460cda
10 changed files with 100 additions and 41 deletions

View File

@ -2874,6 +2874,14 @@ instance_map: {{ matrix_synapse_instance_map | to_json }}
# typing: worker1
stream_writers: {{ matrix_synapse_stream_writers | to_json }}
{% if matrix_synapse_notify_appservices_from_worker != '' %}
notify_appservices_from_worker: {{ matrix_synapse_notify_appservices_from_worker | to_json }}
{% endif %}
{% if matrix_synapse_update_user_directory_from_worker != '' %}
update_user_directory_from_worker: {{ matrix_synapse_update_user_directory_from_worker | to_json }}
{% endif %}
# The worker that is used to run background tasks (e.g. cleaning up expired
# data). If not provided this defaults to the main process.
#