diff options
author | Brendan Abolivier <babolivier@matrix.org> | 2019-03-06 10:55:22 +0000 |
---|---|---|
committer | Brendan Abolivier <babolivier@matrix.org> | 2019-03-06 10:55:22 +0000 |
commit | f4195f41188928b8da9bed38c60e221466274a48 (patch) | |
tree | efa19628c1b2449e9e1fe2f1d0ee4aafebcee1ba /synapse/handlers/_base.py | |
parent | Add changelog (diff) | |
download | synapse-f4195f41188928b8da9bed38c60e221466274a48.tar.xz |
Revert "Split ratelimiters in two (one for events, one for registration)"
This reverts commit d7dbad3526136cfc9fdbd568635be5016fb637db.
Diffstat (limited to 'synapse/handlers/_base.py')
-rw-r--r-- | synapse/handlers/_base.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/handlers/_base.py b/synapse/handlers/_base.py index a2212e2023..d8d86d6ff3 100644 --- a/synapse/handlers/_base.py +++ b/synapse/handlers/_base.py @@ -44,7 +44,7 @@ class BaseHandler(object): self.notifier = hs.get_notifier() self.state_handler = hs.get_state_handler() self.distributor = hs.get_distributor() - self.ratelimiter = hs.get_events_ratelimiter() + self.ratelimiter = hs.get_ratelimiter() self.clock = hs.get_clock() self.hs = hs |