summary refs log tree commit diff
path: root/tests/utils.py
diff options
context:
space:
mode:
authorRichard van der Hoff <richard@matrix.org>2018-07-13 16:19:40 +0100
committerRichard van der Hoff <richard@matrix.org>2018-07-13 16:19:40 +0100
commit33b40d0a2590a6d875548c27408c2d35d3269f33 (patch)
treef3703fbf9aca0739ebc416d7e72d8dfdf8e6c5f5 /tests/utils.py
parentMerge pull request #3521 from matrix-org/rav/optimise_stream_change_cache (diff)
downloadsynapse-33b40d0a2590a6d875548c27408c2d35d3269f33.tar.xz
Make FederationRateLimiter queue requests properly
popitem removes the *most recent* item by default [1]. We want the oldest.

Fixes #3524

[1]: https://docs.python.org/2/library/collections.html#collections.OrderedDict.popitem
Diffstat (limited to 'tests/utils.py')
0 files changed, 0 insertions, 0 deletions