diff options
author | Richard van der Hoff <richard@matrix.org> | 2018-07-13 16:19:40 +0100 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2018-07-13 16:19:40 +0100 |
commit | 33b40d0a2590a6d875548c27408c2d35d3269f33 (patch) | |
tree | f3703fbf9aca0739ebc416d7e72d8dfdf8e6c5f5 /synapse/util/stringutils.py | |
parent | Merge pull request #3521 from matrix-org/rav/optimise_stream_change_cache (diff) | |
download | synapse-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 'synapse/util/stringutils.py')
0 files changed, 0 insertions, 0 deletions