summary refs log tree commit diff
path: root/synapse/handlers/federation.py
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2014-12-17 23:37:08 +0000
committerErik Johnston <erik@matrix.org>2014-12-17 23:37:08 +0000
commitf3788e3c7881de25c7d699bb9940b3cbd4dc3682 (patch)
treebfb533714a3c152cebf649612cd9b007ea048352 /synapse/handlers/federation.py
parentUse _get_events_txn instead of _parse_events_txn (diff)
downloadsynapse-f3788e3c7881de25c7d699bb9940b3cbd4dc3682.tar.xz
Test some ideas that might help performance a bit
Diffstat (limited to 'synapse/handlers/federation.py')
-rw-r--r--synapse/handlers/federation.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/synapse/handlers/federation.py b/synapse/handlers/federation.py
index b76dcd98e2..2f6036145c 100644
--- a/synapse/handlers/federation.py
+++ b/synapse/handlers/federation.py
@@ -91,7 +91,7 @@ class FederationHandler(BaseHandler):
 
         yield run_on_reactor()
 
-        yield self.replication_layer.send_pdu(event, destinations)
+        self.replication_layer.send_pdu(event, destinations)
 
     @log_function
     @defer.inlineCallbacks
@@ -527,7 +527,7 @@ class FederationHandler(BaseHandler):
             event.signatures,
         )
 
-        yield self.replication_layer.send_pdu(new_pdu, destinations)
+        self.replication_layer.send_pdu(new_pdu, destinations)
 
         state_ids = [e.event_id for e in context.current_state.values()]
         auth_chain = yield self.store.get_auth_chain(set(