MatrixSynapse/tests/handlers
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
test_admin.py
test_appservice.py
test_auth.py Stop Auth methods from polling the config on every req. (#7420) 2020-05-06 15:54:58 +01:00
test_device.py Reject device display names that are too long (#6882) 2020-02-10 16:35:26 -05:00
test_directory.py Allow admins to create aliases when they are not in the room (#7191) 2020-04-01 08:27:05 -04:00
test_e2e_keys.py Fix encryption algorithm typos in tests/comments (#7637) 2020-06-04 20:03:40 +01:00
test_e2e_room_keys.py
test_federation.py Implement room version 6 (MSC2240). (#7506) 2020-05-15 09:30:10 -04:00
test_oidc.py Support UI Authentication for OpenID Connect accounts (#7457) 2020-05-15 12:26:02 -04:00
test_presence.py Port PresenceHandler to async/await (#6991) 2020-02-26 15:33:26 +00:00
test_profile.py Performance improvements and refactor of Ratelimiter (#7595) 2020-06-05 10:47:20 +01:00
test_register.py async/await is_server_admin (#7363) 2020-05-01 15:15:36 +01:00
test_stats.py Move background update handling out of store 2019-12-05 11:11:26 +00:00
test_sync.py Stop Auth methods from polling the config on every req. (#7420) 2020-05-06 15:54:58 +01:00
test_typing.py Add ability to wait for replication streams (#7542) 2020-05-22 14:21:54 +01:00
test_user_directory.py Extend spam checker to allow for multiple modules (#7435) 2020-05-08 19:25:48 +01:00