mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-28 05:39:36 +03:00
Don't yield on sending the event accross federation.
This commit is contained in:
parent
dec5b62339
commit
dea5d4b03b
1 changed files with 2 additions and 2 deletions
|
@ -91,7 +91,7 @@ class FederationHandler(BaseHandler):
|
||||||
|
|
||||||
yield run_on_reactor()
|
yield run_on_reactor()
|
||||||
|
|
||||||
yield self.replication_layer.send_pdu(event, destinations)
|
self.replication_layer.send_pdu(event, destinations)
|
||||||
|
|
||||||
@log_function
|
@log_function
|
||||||
@defer.inlineCallbacks
|
@defer.inlineCallbacks
|
||||||
|
@ -527,7 +527,7 @@ class FederationHandler(BaseHandler):
|
||||||
event.signatures,
|
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()]
|
state_ids = [e.event_id for e in context.current_state.values()]
|
||||||
auth_chain = yield self.store.get_auth_chain(set(
|
auth_chain = yield self.store.get_auth_chain(set(
|
||||||
|
|
Loading…
Reference in a new issue