Skip to content
Snippets Groups Projects
Unverified Commit f4e6495b authored by Andrew Morgan's avatar Andrew Morgan Committed by GitHub
Browse files

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.
parent c389bfb6
No related branches found
No related tags found
No related merge requests found
Showing
with 322 additions and 230 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment