summary refs log tree commit diff
diff options
context:
space:
mode:
authorOlivier Wilkinson (reivilibre) <oliverw@matrix.org>2022-04-07 12:42:54 +0100
committerOlivier Wilkinson (reivilibre) <oliverw@matrix.org>2022-04-07 12:42:54 +0100
commitcc48a008659b161b91e35557fa3842c1a5857db5 (patch)
tree4f36b128747c3ecd8b3bd6c0e12585dcab4fa020
parentTry using orjson for deserialisation replication messages (diff)
downloadsynapse-github/rei/moh-orjson-replication.tar.xz
-rw-r--r--synapse/python_dependencies.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/synapse/python_dependencies.py b/synapse/python_dependencies.py
index d02cca0bbb..d4c73835d8 100644
--- a/synapse/python_dependencies.py
+++ b/synapse/python_dependencies.py
@@ -89,6 +89,8 @@ REQUIREMENTS = [
     "matrix-common~=1.1.0",
     # We need packaging.requirements.Requirement, added in 16.1.
     "packaging>=16.1",
+    # EXPERIMENTAL: Faster JSON deserialisation for replication messages
+    "orjson>=3.6.7",
 ]
 
 CONDITIONAL_REQUIREMENTS = {