mirror of
https://github.com/element-hq/synapse.git
synced 2026-10-23 13:03:28 +00:00
Skip events we've already seen
This commit is contained in:
1 parent
ae3bff3491
commit
39a3340f73
1 file changed
+3
@@ -411,6 +411,9 @@ class EventFederationStore(SQLBaseStore):
|
||||
except Empty:
|
||||
break
|
||||
|
||||
if event_id in event_results:
|
||||
continue
|
||||
|
||||
event_results.add(event_id)
|
||||
|
||||
txn.execute(
|
||||
|
||||
Reference in new issue
Block a user