diff options
author | Erik Johnston <erik@matrix.org> | 2020-08-28 17:12:45 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-28 17:12:45 +0100 |
commit | 3b4556cf87666bb6f40d89c8c7fff42d336237b6 (patch) | |
tree | 7c4e854c4a04289f514dd9eb9b9bbd66a56af5ea /synapse/python_dependencies.py | |
parent | Convert `event_push_actions`, `registration`, and `roommember` datastores to ... (diff) | |
download | synapse-3b4556cf87666bb6f40d89c8c7fff42d336237b6.tar.xz |
Fix `wait_for_stream_position` for multiple waiters. (#8196)
This fixes a bug where having multiple callers waiting on the same stream and position will cause it to try and compare two deferreds, which fails (due to the sorted list having an entry of `Tuple[int, Deferred]`).
Diffstat (limited to 'synapse/python_dependencies.py')
-rw-r--r-- | synapse/python_dependencies.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/synapse/python_dependencies.py b/synapse/python_dependencies.py index dd77a44b8d..2d995ec456 100644 --- a/synapse/python_dependencies.py +++ b/synapse/python_dependencies.py @@ -66,7 +66,9 @@ REQUIREMENTS = [ "msgpack>=0.5.2", "phonenumbers>=8.2.0", "prometheus_client>=0.0.18,<0.9.0", - # we use attr.validators.deep_iterable, which arrived in 19.1.0 + # we use attr.validators.deep_iterable, which arrived in 19.1.0 (Note: + # Fedora 31 only has 19.1, so if we want to upgrade we should wait until 33 + # is out in November.) "attrs>=19.1.0", "netaddr>=0.7.18", "Jinja2>=2.9", |