mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 12:26:02 -04:00
Actually make it work
This commit is contained in:
parent
f68e4cf690
commit
f4d93ae424
2 changed files with 15 additions and 2 deletions
|
@ -23,6 +23,11 @@ class WorkerConfig(Config):
|
|||
|
||||
def read_config(self, config):
|
||||
self.worker_app = config.get("worker_app")
|
||||
|
||||
# Canonicalise worker_app so that master always has None
|
||||
if self.worker_app == "synapse.app.homeserver":
|
||||
self.worker_app = None
|
||||
|
||||
self.worker_listeners = config.get("worker_listeners")
|
||||
self.worker_daemonize = config.get("worker_daemonize")
|
||||
self.worker_pid_file = config.get("worker_pid_file")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue