anonymousland-synapse/tests/rest/client/v2_alpha
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 Refactor REST API tests to use explicit reactors (#3351) 2018-07-17 20:43:18 +10:00
test_account.py Convert sending mail to async/await. (#7557) 2020-05-22 13:41:11 +01:00
test_auth.py Do not validate that the client dict is stable during UI Auth. (#7483) 2020-05-13 14:26:44 -04:00
test_capabilities.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
test_filter.py send 404 as http-status when filter-id is unknown to the server (#2380) 2019-10-10 12:59:55 +01:00
test_password_policy.py Allow server admins to define and enforce a password policy (MSC2000). (#7118) 2020-03-26 16:51:13 +00:00
test_register.py Performance improvements and refactor of Ratelimiter (#7595) 2020-06-05 10:47:20 +01:00
test_relations.py Remove the ability to query relations when the original event was redacted. (#5629) 2019-07-18 14:41:42 +01:00
test_sync.py Clarify list/set/dict/tuple comprehensions and enforce via flake8 (#6957) 2020-02-21 07:15:07 -05:00