forked from MirrorHub/synapse
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:
|
except Empty:
|
||||||
break
|
break
|
||||||
|
|
||||||
|
if event_id in event_results:
|
||||||
|
continue
|
||||||
|
|
||||||
event_results.add(event_id)
|
event_results.add(event_id)
|
||||||
|
|
||||||
txn.execute(
|
txn.execute(
|
||||||
|
|
Loading…
Reference in a new issue