diff options
author | Richard van der Hoff <github@rvanderhoff.org.uk> | 2017-08-15 17:42:05 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-15 17:42:05 +0100 |
commit | 963015005ec92f4f7670944287150e620f096e84 (patch) | |
tree | 5c6a455a53db8c5eb91c8b648d0eb92daf05098e /synapse/config/workers.py | |
parent | fix english (diff) | |
parent | Allow configuration of CPU affinity (diff) | |
download | synapse-963015005ec92f4f7670944287150e620f096e84.tar.xz |
Merge pull request #2415 from matrix-org/rav/synctl_cpu_affinity
Allow configuration of CPU affinity
Diffstat (limited to 'synapse/config/workers.py')
-rw-r--r-- | synapse/config/workers.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/config/workers.py b/synapse/config/workers.py index 99d5d8aaeb..c5a5a8919c 100644 --- a/synapse/config/workers.py +++ b/synapse/config/workers.py @@ -33,6 +33,7 @@ class WorkerConfig(Config): self.worker_name = config.get("worker_name", self.worker_app) self.worker_main_http_uri = config.get("worker_main_http_uri", None) + self.worker_cpu_affinity = config.get("worker_cpu_affinity") if self.worker_listeners: for listener in self.worker_listeners: |