MatrixSynapse/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 copyrights 2016-01-07 04:26:29 +00:00
_base.py Admin API to list, filter and sort rooms (#6720) 2020-01-22 13:36:43 +00:00
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 Port rest.client.v2 2019-12-05 16:56:23 +00:00
auth.py Use a non-empty RelayState for user interactive auth with SAML. (#7552) 2020-05-22 07:17:30 -04:00
capabilities.py Port rest.client.v2 2019-12-05 16:56:23 +00:00
devices.py Support SAML in the user interactive authentication workflow. (#7102) 2020-04-01 08:48:00 -04:00
filter.py Port rest.client.v2 2019-12-05 16:56:23 +00:00
groups.py Port rest.client.v2 2019-12-05 16:56:23 +00:00
keys.py Fix encryption algorithm typos in tests/comments (#7637) 2020-06-04 20:03:40 +01:00
notifications.py Port rest.client.v2 2019-12-05 16:56:23 +00:00
openid.py Port rest.client.v2 2019-12-05 16:56:23 +00:00
password_policy.py Allow server admins to define and enforce a password policy (MSC2000). (#7118) 2020-03-26 16:51:13 +00:00
read_marker.py Port receipt and read markers to async/wait 2019-10-29 15:08:22 +00:00
receipts.py Port receipt and read markers to async/wait 2019-10-29 15:08:22 +00:00
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 Port rest.client.v2 2019-12-05 16:56:23 +00:00
room_keys.py Ensure is_verified on /_matrix/client/r0/room_keys/keys is a boolean (#7150) 2020-03-27 13:30:22 +00:00
room_upgrade_rest_servlet.py Add `rooms.room_version` column (#6729) 2020-01-27 14:30:57 +00:00
sendtodevice.py Fixup synapse.rest to pass mypy (#6732) 2020-01-20 17:38:21 +00:00
sync.py Clarify list/set/dict/tuple comprehensions and enforce via flake8 (#6957) 2020-02-21 07:15:07 -05:00
tags.py Port rest.client.v2 2019-12-05 16:56:23 +00:00
thirdparty.py Port rest.client.v2 2019-12-05 16:56:23 +00:00
tokenrefresh.py Port rest.client.v2 2019-12-05 16:56:23 +00:00
user_directory.py Port rest.client.v2 2019-12-05 16:56:23 +00:00