0
0
Fork 1
mirror of https://mau.dev/maunium/synapse.git synced 2024-12-17 21:04:04 +01:00
synapse/tests/replication/slave/storage
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 Add a slaved events store class 2016-04-06 14:18:35 +01:00
_base.py Performance improvements and refactor of Ratelimiter (#7595) 2020-06-05 10:47:20 +01:00
test_account_data.py Fix tests on postgresql (#3740) 2018-09-04 02:21:48 +10:00
test_events.py fix mypy for tests/replication (#7518) 2020-05-18 10:43:05 +01:00
test_receipts.py Fix tests on postgresql (#3740) 2018-09-04 02:21:48 +10:00