summary refs log tree commit diff
path: root/synapse/server.py
diff options
context:
space:
mode:
authorSean Quah <8349537+squahtx@users.noreply.github.com>2023-01-16 13:16:19 +0000
committerGitHub <noreply@github.com>2023-01-16 13:16:19 +0000
commita302d3ecf75493f84fc5be616fee7d199ed12394 (patch)
treeb97383156d39ad66cffd5b705bd7a5929e99421f /synapse/server.py
parentFix missing field in AS documentation (#14845) (diff)
downloadsynapse-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.py1
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",