diff options
author | reivilibre <oliverw@matrix.org> | 2022-05-06 11:43:53 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-06 11:43:53 +0100 |
commit | c2d50e9f6c5f7b01cbd8bf1dca36cb8c0e7b007f (patch) | |
tree | 979a900eca42c6baa389b30e8514cfb27791dc0d /docker/configure_workers_and_start.py | |
parent | Merge branch 'master' into develop (diff) | |
download | synapse-c2d50e9f6c5f7b01cbd8bf1dca36cb8c0e7b007f.tar.xz |
Add the `notify_appservices_from_worker` configuration option (superseding `notify_appservices`) to allow a generic worker to be designated as the worker to send traffic to Application Services. (#12452)
Diffstat (limited to 'docker/configure_workers_and_start.py')
-rwxr-xr-x | docker/configure_workers_and_start.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docker/configure_workers_and_start.py b/docker/configure_workers_and_start.py index 33fc20d218..b2b7938ae8 100755 --- a/docker/configure_workers_and_start.py +++ b/docker/configure_workers_and_start.py @@ -69,10 +69,10 @@ WORKERS_CONFIG: Dict[str, Dict[str, Any]] = { "worker_extra_conf": "enable_media_repo: true", }, "appservice": { - "app": "synapse.app.appservice", + "app": "synapse.app.generic_worker", "listener_resources": [], "endpoint_patterns": [], - "shared_extra_conf": {"notify_appservices": False}, + "shared_extra_conf": {"notify_appservices_from_worker": "appservice"}, "worker_extra_conf": "", }, "federation_sender": { |