mirror of
https://mau.dev/maunium/synapse.git
synced 2024-10-01 01:36:05 -04:00
Skip events we've already seen
This commit is contained in:
parent
ae3bff3491
commit
39a3340f73
@ -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 New Issue
Block a user