mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 12:36:02 -04:00
Rearrange persist_event so that do all the queries that need to be done before returning early if we have already persisted that event.
This commit is contained in:
parent
02be8da5e1
commit
c0462dbf15
3 changed files with 77 additions and 72 deletions
|
@ -515,6 +515,8 @@ class FederationHandler(BaseHandler):
|
|||
"Failed to get destination from event %s", s.event_id
|
||||
)
|
||||
|
||||
destinations.remove(origin)
|
||||
|
||||
logger.debug(
|
||||
"on_send_join_request: Sending event: %s, signatures: %s",
|
||||
event.event_id,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue