anonymousland-synapse/synapse/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
_base.py
account.py Hash passwords earlier in the password reset process (#7538) 2020-05-20 09:48:03 -04:00
account_data.py Support GET account_data requests on a worker (#7311) 2020-04-21 10:46:30 +01:00
account_validity.py
auth.py Use a non-empty RelayState for user interactive auth with SAML. (#7552) 2020-05-22 07:17:30 -04:00
capabilities.py
devices.py
filter.py
groups.py
keys.py Fix encryption algorithm typos in tests/comments (#7637) 2020-06-04 20:03:40 +01:00
notifications.py
openid.py
password_policy.py
read_marker.py
receipts.py
register.py Performance improvements and refactor of Ratelimiter (#7595) 2020-06-05 10:47:20 +01:00
relations.py Add ability to wait for replication streams (#7542) 2020-05-22 14:21:54 +01:00
report_event.py
room_keys.py
room_upgrade_rest_servlet.py
sendtodevice.py
sync.py
tags.py
thirdparty.py
tokenrefresh.py
user_directory.py