summary refs log tree commit diff
path: root/synapse/util/ratelimitutils.py (follow)
Commit message (Expand)AuthorAgeFilesLines
* Update license headersPatrick Cloke2023-11-211-10/+16
* Describe which rate limiter was hit in logs (#16135)David Robertson2023-08-301-1/+2
* Run pyupgrade for python 3.7 & 3.8. (#16110)Patrick Cloke2023-08-151-1/+1
* Fix `HomeServer`s leaking during `trial` test runs (#15630)Sean Quah2023-05-191-1/+5
* Remove unnecessary reactor reference from `_PerHostRatelimiter` (#14842)Sean Quah2023-01-161-8/+2
* Fix stack overflow in `_PerHostRatelimiter` due to synchronous requests (#14812)Sean Quah2023-01-131-9/+25
* Remove redundant types from comments. (#14412)Patrick Cloke2022-11-161-1/+1
* Fix rate limit metrics registering twice and misreporting (#13649)Eric Eastwood2022-08-301-31/+124
* Fix incorrect juggling of logging contexts in `_PerHostRatelimiter` (#13554)Sean Quah2022-08-181-10/+7
* Track number of hosts affected by the rate limiter (#13541)Eric Eastwood2022-08-181-4/+39
* Add metrics to track how the rate limiter is affecting requests (sleep/reject...Eric Eastwood2022-08-171-8/+29
* Add metrics to track rate limiter queue timing (#13544)Eric Eastwood2022-08-171-0/+30
* Instrument `FederationStateIdsServlet` - `/state_ids` (#13499)Eric Eastwood2022-08-151-0/+4
* Rename `RateLimitConfig` to `RatelimitSettings` (#13442)Dirk Klimpel2022-08-031-3/+3
* Add types to synapse.util. (#10601)reivilibre2021-09-101-26/+31
* Remove redundant "coding: utf-8" lines (#9786)Jonathan de Jong2021-04-141-1/+0
* Stop sub-classing object (#8249)Patrick Cloke2020-09-041-2/+2
* Performance improvements and refactor of Ratelimiter (#7595)Andrew Morgan2020-06-051-1/+1
* Fixes to the federation rate limiter (#5621)Richard van der Hoff2019-07-051-8/+8
* Move logging utilities out of the side drawer of util/ and into logging/ (#5606)Amber Brown2019-07-041-1/+1
* Run Black. (#5482)Amber Brown2019-06-201-26/+9
* 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
* 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
* Remove some unused functions (#711)Mark Haines2016-04-081-14/+0
* 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