diff options
author | Sean Quah <8349537+squahtx@users.noreply.github.com> | 2023-01-16 13:16:19 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-16 13:16:19 +0000 |
commit | a302d3ecf75493f84fc5be616fee7d199ed12394 (patch) | |
tree | b97383156d39ad66cffd5b705bd7a5929e99421f /synapse/server.py | |
parent | Fix missing field in AS documentation (#14845) (diff) | |
download | synapse-a302d3ecf75493f84fc5be616fee7d199ed12394.tar.xz |
Remove unnecessary reactor reference from `_PerHostRatelimiter` (#14842)
Fix up #14812 to avoid introducing a reference to the reactor. Signed-off-by: Sean Quah <seanq@matrix.org>
Diffstat (limited to 'synapse/server.py')
-rw-r--r-- | synapse/server.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/synapse/server.py b/synapse/server.py index c8752baa5a..f4ab94c4f3 100644 --- a/synapse/server.py +++ b/synapse/server.py @@ -768,7 +768,6 @@ class HomeServer(metaclass=abc.ABCMeta): @cache_in_self def get_federation_ratelimiter(self) -> FederationRateLimiter: return FederationRateLimiter( - self.get_reactor(), self.get_clock(), config=self.config.ratelimiting.rc_federation, metrics_name="federation_servlets", |