summary refs log tree commit diff
path: root/synapse/config/workers.py
diff options
context:
space:
mode:
authorAndrew Morgan <andrew@amorgan.xyz>2020-02-26 12:32:49 +0000
committerAndrew Morgan <andrew@amorgan.xyz>2020-02-26 12:32:49 +0000
commit19099efcfba57a04e8246e56944a4d41cf1a97fc (patch)
tree1500ac7d32f916ae0d3d6259fbe78d41a8a132ca /synapse/config/workers.py
parentMerge pull request #6185 from matrix-org/erikj/fix_censored_evnets (diff)
parentRefactor HomeserverConfig so it can be typechecked (#6137) (diff)
downloadsynapse-19099efcfba57a04e8246e56944a4d41cf1a97fc.tar.xz
Refactor HomeserverConfig so it can be typechecked (#6137)
Diffstat (limited to 'synapse/config/workers.py')
-rw-r--r--synapse/config/workers.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/config/workers.py b/synapse/config/workers.py

index 1ec4998625..fef72ed974 100644 --- a/synapse/config/workers.py +++ b/synapse/config/workers.py
@@ -21,6 +21,8 @@ class WorkerConfig(Config): They have their own pid_file and listener configuration. They use the replication_url to talk to the main synapse process.""" + section = "worker" + def read_config(self, config, **kwargs): self.worker_app = config.get("worker_app")