mirror of
https://github.com/element-hq/synapse.git
synced 2024-12-21 03:42:55 +03:00
224ef0b669
Unix socket support for `federation` and `client` Listeners has existed now for a little while(since [1.81.0](https://github.com/matrix-org/synapse/pull/15353)), but there was one last hold out before it could be complete: HTTP Replication communication. This should finish it up. The Listeners would have always worked, but would have had no way to be talked to/at. --------- Co-authored-by: Eric Eastwood <madlittlemods@gmail.com> Co-authored-by: Olivier Wilkinson (reivilibre) <oliverw@matrix.org> Co-authored-by: Eric Eastwood <erice@element.io>
23 lines
645 B
Django/Jinja
23 lines
645 B
Django/Jinja
# This file contains the base for the shared homeserver config file between Synapse workers,
|
|
# as part of ./Dockerfile-workers.
|
|
# configure_workers_and_start.py uses and amends to this file depending on the workers
|
|
# that have been selected.
|
|
|
|
{% if enable_redis %}
|
|
redis:
|
|
enabled: true
|
|
{% if using_unix_sockets %}
|
|
path: /tmp/redis.sock
|
|
{% endif %}
|
|
{% endif %}
|
|
|
|
{% if appservice_registrations is not none %}
|
|
## Application Services ##
|
|
# A list of application service config files to use.
|
|
app_service_config_files:
|
|
{%- for path in appservice_registrations %}
|
|
- "{{ path }}"
|
|
{%- endfor %}
|
|
{%- endif %}
|
|
|
|
{{ shared_worker_config }}
|