Don't readd things that are already in event_results

This commit is contained in:
Erik Johnston 2015-05-21 15:40:22 +01:00
parent 6189d8e54d
commit 73d23c6ae8

View File

@ -411,7 +411,8 @@ class EventFederationStore(SQLBaseStore):
)
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