synapse/tests/replication
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
..
slave Performance improvements and refactor of Ratelimiter (#7595) 2020-06-05 10:47:20 +01:00
tcp fix mypy for tests/replication (#7518) 2020-05-18 10:43:05 +01:00
__init__.py Add a /replication API for extracting the updates that happened on 2016-03-01 14:49:41 +00:00
_base.py Clean up replication unit tests. (#7490) 2020-05-13 16:01:47 +01:00
test_federation_ack.py Fix recording of federation stream token (#7564) 2020-05-26 11:41:38 +01:00