diff options
author | Paul "LeoNerd" Evans <paul@matrix.org> | 2015-03-05 19:43:17 +0000 |
---|---|---|
committer | Paul "LeoNerd" Evans <paul@matrix.org> | 2015-03-05 19:43:17 +0000 |
commit | ba8ac996f951c872c8815f09a4ffd3a508da6863 (patch) | |
tree | 8980cb46828b426c9c5f90eeabfffc649e5631f1 | |
parent | Move federation API responding code out of weird mix of lambdas into Servlet-... (diff) | |
download | synapse-ba8ac996f951c872c8815f09a4ffd3a508da6863.tar.xz |
Remove the dead 'rate_limit_origin' method from TransportLayerServer
Diffstat (limited to '')
-rw-r--r-- | synapse/federation/transport/server.py | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/synapse/federation/transport/server.py b/synapse/federation/transport/server.py index eb3e30a189..dc9f1e082b 100644 --- a/synapse/federation/transport/server.py +++ b/synapse/federation/transport/server.py @@ -109,12 +109,6 @@ class TransportLayerServer(object): defer.returnValue(response) return new_handler - def rate_limit_origin(self, handler): - def new_handler(origin, *args, **kwargs): - response = yield handler(origin, *args, **kwargs) - defer.returnValue(response) - return new_handler() - @log_function def register_received_handler(self, handler): """ Register a handler that will be fired when we receive data. |