Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fixes to the federation rate limiter (#5621) | Richard van der Hoff | 2019-07-05 | 1 | -8/+8 |
| | | | | | | | - Put the default window_size back to 1000ms (broken by #5181) - Make the `rc_federation` config actually do something - fix an off-by-one error in the 'concurrent' limit - Avoid creating an unused `_PerHostRatelimiter` object for every single incoming request | ||||
* | Move logging utilities out of the side drawer of util/ and into logging/ (#5606) | Amber Brown | 2019-07-04 | 1 | -1/+1 |
| | |||||
* | Run Black. (#5482) | Amber Brown | 2019-06-20 | 1 | -26/+9 |
| | |||||
* | Make all the rate limiting options more consistent (#5181) | Amber Brown | 2019-05-15 | 1 | -32/+15 |
| | |||||
* | Make FederationRateLimiter queue requests properly | Richard van der Hoff | 2018-07-13 | 1 | -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 isort | Amber Brown | 2018-07-09 | 1 | -7/+6 |
| | |||||
* | Pass around the reactor explicitly (#3385) | Amber Brown | 2018-06-22 | 1 | -2/+1 |
| | |||||
* | Fix logcontext leaks in rate limiter | Richard van der Hoff | 2018-05-03 | 1 | -3/+14 |
| | |||||
* | Use run_in_background in preference to preserve_fn | Richard van der Hoff | 2018-04-27 | 1 | -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 Haines | 2016-04-08 | 1 | -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 logcontexts | Erik Johnston | 2016-02-08 | 1 | -1/+2 |
| | |||||
* | Fix flake8 warnings for new flake8 | Daniel Wagner-Hall | 2016-02-02 | 1 | -1/+1 |
| | |||||
* | copyrights | Matthew Hodgson | 2016-01-07 | 1 | -1/+1 |
| | |||||
* | Use contextlib.contextmanager instead of a custom class | Erik Johnston | 2015-03-02 | 1 | -22/+12 |
| | |||||
* | Move federation rate limiting out of transport layer | Erik Johnston | 2015-02-27 | 1 | -0/+226 |