diff options
author | Olivier Wilkinson (reivilibre) <oliverw@matrix.org> | 2022-04-07 12:42:54 +0100 |
---|---|---|
committer | Olivier Wilkinson (reivilibre) <oliverw@matrix.org> | 2022-04-07 12:42:54 +0100 |
commit | cc48a008659b161b91e35557fa3842c1a5857db5 (patch) | |
tree | 4f36b128747c3ecd8b3bd6c0e12585dcab4fa020 | |
parent | Try using orjson for deserialisation replication messages (diff) | |
download | synapse-github/rei/moh-orjson-replication.tar.xz |
Add orjson as a dependency github/rei/moh-orjson-replication rei/moh-orjson-replication
-rw-r--r-- | synapse/python_dependencies.py | 2 |
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 = { |