synapse-product/synapse/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
transactions.py Move logging utilities out of the side drawer of util/ and into logging/ (#5606) 2019-07-04 00:07:04 +10:00
versions.py Move MSC2432 stuff onto unstable prefix (#6948) 2020-02-19 10:40:27 +00:00