summary refs log tree commit diff
path: root/synapse/app/_base.py
diff options
context:
space:
mode:
authorShay <hillerys@element.io>2021-11-30 10:12:18 -0800
committerGitHub <noreply@github.com>2021-11-30 10:12:18 -0800
commit70cbb1a5e311f609b624e3fae1a1712db639c51e (patch)
tree4739879593a329054d0df2b02464d6d7e534440e /synapse/app/_base.py
parentExpose worker & homeserver as entrypoints in `setup.py` (#11449) (diff)
downloadsynapse-70cbb1a5e311f609b624e3fae1a1712db639c51e.tar.xz
Don't start Synapse master process if `worker_app` is set (#11416)
* Add check to catch syanpse master process starting when workers are configured

* add test to verify that starting master process with worker config raises error

* newsfragment

* specify config.worker.worker_app in check

* update test

* report specific config option that triggered the error

Co-authored-by: reivilibre <oliverw@matrix.org>

* clarify error message

Co-authored-by: reivilibre <oliverw@matrix.org>

Co-authored-by: reivilibre <oliverw@matrix.org>
Diffstat (limited to 'synapse/app/_base.py')
0 files changed, 0 insertions, 0 deletions