forked from MirrorHub/synapse
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. |
||
---|---|---|
.. | ||
__init__.py | ||
test_admin.py | ||
test_appservice.py | ||
test_auth.py | ||
test_device.py | ||
test_directory.py | ||
test_e2e_keys.py | ||
test_e2e_room_keys.py | ||
test_federation.py | ||
test_oidc.py | ||
test_presence.py | ||
test_profile.py | ||
test_register.py | ||
test_stats.py | ||
test_sync.py | ||
test_typing.py | ||
test_user_directory.py |