mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-22 01:25:44 +03:00
Skip events we've already seen
This commit is contained in:
parent
ae3bff3491
commit
39a3340f73
1 changed files with 3 additions and 0 deletions
|
@ -411,6 +411,9 @@ class EventFederationStore(SQLBaseStore):
|
|||
except Empty:
|
||||
break
|
||||
|
||||
if event_id in event_results:
|
||||
continue
|
||||
|
||||
event_results.add(event_id)
|
||||
|
||||
txn.execute(
|
||||
|
|
Loading…
Reference in a new issue