summary refs log tree commit diff
path: root/synapse/util/ratelimitutils.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Make all the rate limiting options more consistent (#5181)Amber Brown2019-05-151-32/+15
|
* Make FederationRateLimiter queue requests properlyRichard van der Hoff2018-07-131-10/+23
| | | | | | | | 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
* run isortAmber Brown2018-07-091-7/+6
|
* Pass around the reactor explicitly (#3385)Amber Brown2018-06-221-2/+1
|
* Fix logcontext leaks in rate limiterRichard van der Hoff2018-05-031-3/+14
|
* Use run_in_background in preference to preserve_fnRichard van der Hoff2018-04-271-2/+2
| | | | | | While I was going through uses of preserve_fn for other PRs, I converted places which only use the wrapped function once to use run_in_background, to avoid creating the function object.
* Remove some unused functions (#711)Mark Haines2016-04-081-14/+0
| | | | | | | | * Remove some unused functions * get_room_events_stream is only used in tests * is_exclusive_room might actually be something we want
* Fix up logcontextsErik Johnston2016-02-081-1/+2
|
* Fix flake8 warnings for new flake8Daniel Wagner-Hall2016-02-021-1/+1
|
* copyrightsMatthew Hodgson2016-01-071-1/+1
|
* Use contextlib.contextmanager instead of a custom classErik Johnston2015-03-021-22/+12
|
* Move federation rate limiting out of transport layerErik Johnston2015-02-271-0/+226