summary refs log tree commit diff
path: root/synapse
diff options
context:
space:
mode:
Diffstat (limited to 'synapse')
-rw-r--r--synapse/storage/event_federation.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/synapse/storage/event_federation.py b/synapse/storage/event_federation.py
index 91d19857b1..823a4998c3 100644
--- a/synapse/storage/event_federation.py
+++ b/synapse/storage/event_federation.py
@@ -411,6 +411,9 @@ class EventFederationStore(SQLBaseStore):
             except Empty:
                 break
 
+            if event_id in event_results:
+                continue
+
             event_results.add(event_id)
 
             txn.execute(