summary refs log tree commit diff
path: root/synapse/federation
diff options
context:
space:
mode:
authorErik Johnston <erik@matrix.org>2021-07-09 10:16:54 +0100
committerGitHub <noreply@github.com>2021-07-09 10:16:54 +0100
commit1579fdd54a9aab6b65ddb8de4e83b61c3384e2fe (patch)
tree9e6f9067a49845cb0ae0c4b4305fece35cb86fe1 /synapse/federation
parentFix broken links in INSTALL.md (#10331) (diff)
downloadsynapse-1579fdd54a9aab6b65ddb8de4e83b61c3384e2fe.tar.xz
Ensure we always drop the federation inbound lock (#10336)
Diffstat (limited to 'synapse/federation')
-rw-r--r--synapse/federation/federation_server.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/synapse/federation/federation_server.py b/synapse/federation/federation_server.py
index bf67d0f574..ac0f2ccfb3 100644
--- a/synapse/federation/federation_server.py
+++ b/synapse/federation/federation_server.py
@@ -949,6 +949,7 @@ class FederationServer(FederationBase):
                 room_id, room_version
             )
             if not next:
+                await lock.release()
                 return
 
             origin, event = next