mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-12-25 22:59:27 -05:00
f4e6495b5d
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 | ||
auth_blocking.py | ||
auth.py | ||
constants.py | ||
errors.py | ||
filtering.py | ||
ratelimiting.py | ||
room_versions.py | ||
urls.py |