MatrixSynapse/synapse/rest/client/v1
Andrew Morgan f4e6495b5d
Performance improvements and refactor of Ratelimiter (#7595)
While working on https://github.com/matrix-org/synapse/issues/5665 I found myself digging into the `Ratelimiter` class and seeing that it was both:

* Rather undocumented, and
* causing a *lot* of config checks

This PR attempts to refactor and comment the `Ratelimiter` class, as well as encourage config file accesses to only be done at instantiation. 

Best to be reviewed commit-by-commit.
2020-06-05 10:47:20 +01:00
..
__init__.py
directory.py
events.py Fix `/events/:event_id` deprecated API. (#6731) 2020-01-20 17:38:09 +00:00
initial_sync.py
login.py Performance improvements and refactor of Ratelimiter (#7595) 2020-06-05 10:47:20 +01:00
logout.py Allow expired accounts to logout (#7443) 2020-05-14 16:32:49 +01:00
presence.py
profile.py
push_rule.py Clarify list/set/dict/tuple comprehensions and enforce via flake8 (#6957) 2020-02-21 07:15:07 -05:00
pusher.py Clarify list/set/dict/tuple comprehensions and enforce via flake8 (#6957) 2020-02-21 07:15:07 -05:00
room.py Add ability to wait for replication streams (#7542) 2020-05-22 14:21:54 +01:00
voip.py