Don't readd things that are already in event_results
This commit is contained in:
parent
6189d8e54d
commit
73d23c6ae8
|
@ -411,7 +411,8 @@ class EventFederationStore(SQLBaseStore):
|
||||||
)
|
)
|
||||||
|
|
||||||
for row in txn.fetchall():
|
for row in txn.fetchall():
|
||||||
queue.put((-row[0], row[1]))
|
if row[1] not in event_results:
|
||||||
|
queue.put((-row[0], row[1]))
|
||||||
|
|
||||||
return event_results
|
return event_results
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue