MatrixSynapse/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 Performance improvements and refactor of Ratelimiter (#7595) 2020-06-05 10:47:20 +01:00
v2_alpha Performance improvements and refactor of Ratelimiter (#7595) 2020-06-05 10:47:20 +01:00
__init__.py copyrights 2016-01-07 04:26:29 +00:00
test_consent.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
test_ephemeral_message.py Add ephemeral messages support (MSC2228) (#6409) 2019-12-03 19:19:45 +00:00
test_identity.py Run Black. (#5482) 2019-06-20 19:32:02 +10:00
test_power_levels.py Default PL100 to enable encryption in a room (#7230) 2020-04-09 18:45:38 +01:00
test_redactions.py Fix comments 2019-09-11 13:54:50 +01:00
test_retention.py Don't restrict the tests to v1 rooms 2019-11-26 17:49:12 +00:00
test_transactions.py Clean up some LoggingContext stuff (#7120) 2020-03-24 14:45:33 +00:00
third_party_rules.py Add plugin APIs for implementations of custom event rules. 2019-06-14 18:16:03 +01:00