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/rest/client/register.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/rest/client/register.py')
-rw-r--r-- | synapse/rest/client/register.py | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/synapse/rest/client/register.py b/synapse/rest/client/register.py index be696c304b..3cb1e7e375 100644 --- a/synapse/rest/client/register.py +++ b/synapse/rest/client/register.py @@ -310,7 +310,6 @@ class UsernameAvailabilityRestServlet(RestServlet): self.hs = hs self.registration_handler = hs.get_registration_handler() self.ratelimiter = FederationRateLimiter( - hs.get_reactor(), hs.get_clock(), FederationRatelimitSettings( # Time window of 2s |