diff options
author | Richard van der Hoff <richard@matrix.org> | 2017-03-09 16:20:13 +0000 |
---|---|---|
committer | Richard van der Hoff <richard@matrix.org> | 2017-03-09 16:20:13 +0000 |
commit | 29235901b81b344fc28ff9f59c36257afecf0265 (patch) | |
tree | 9561901ebaf994d613b4d051b3d62d1dbab48c8d /synapse/util/ratelimitutils.py | |
parent | Move sig check out of _handle_new_pdu (diff) | |
download | synapse-29235901b81b344fc28ff9f59c36257afecf0265.tar.xz |
Move FederationServer._handle_new_pdu to FederationHandler
Unfortunately this significantly increases the size of the already-rather-big FederationHandler, but the code fits more naturally here, and it paves the way for the tighter integration that I need between handling incoming PDUs and doing the join dance. Other than renaming the existing `FederationHandler.on_receive_pdu` to `_process_received_pdu` to make way for it, this just consists of the move, and replacing `self.handler` with `self` and `self` with `self.replication_layer`.
Diffstat (limited to 'synapse/util/ratelimitutils.py')
0 files changed, 0 insertions, 0 deletions