0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2025-01-08 12:33:47 +01:00
synapse/tests/rest/client
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
..
v1
v2_alpha
__init__.py
test_consent.py
test_ephemeral_message.py
test_identity.py
test_power_levels.py
test_redactions.py
test_retention.py
test_transactions.py
third_party_rules.py