summary refs log tree commit diff
path: root/synapse/python_dependencies.py
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2017-08-15 17:08:28 +0100
committerRichard van der Hoff <richard@matrix.org>2017-08-15 17:08:28 +0100
commit10d8b701a1fa585c5fc2d5edcea8d4d02ae360a4 (patch)
tree5c6a455a53db8c5eb91c8b648d0eb92daf05098e /synapse/python_dependencies.py
parentFactor out common application start (diff)
downloadsynapse-10d8b701a1fa585c5fc2d5edcea8d4d02ae360a4.tar.xz
Allow configuration of CPU affinity
Make it possible to set the CPU affinity in the config file, so that we don't
need to remember to do it manually every time.
Diffstat (limited to 'synapse/python_dependencies.py')
-rw-r--r--synapse/python_dependencies.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/python_dependencies.py b/synapse/python_dependencies.py
index ed7f1c89ad..1d902dc38d 100644
--- a/synapse/python_dependencies.py
+++ b/synapse/python_dependencies.py
@@ -40,6 +40,7 @@ REQUIREMENTS = {
     "pymacaroons-pynacl": ["pymacaroons"],
     "msgpack-python>=0.3.0": ["msgpack"],
     "phonenumbers>=8.2.0": ["phonenumbers"],
+    "affinity": ["affinity"],
 }
 CONDITIONAL_REQUIREMENTS = {
     "web_client": {