mirror of
https://github.com/element-hq/synapse.git
synced 2026-10-29 12:03:55 +00:00
Don't readd things that are already in event_results
This commit is contained in:
1 parent
6189d8e54d
commit
73d23c6ae8
1 file changed
+2
-1
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user