mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-03 02:54:52 -04:00
Review comments
This commit is contained in:
parent
82028d723b
commit
729f5a4fb6
2 changed files with 5 additions and 7 deletions
|
@ -425,9 +425,7 @@ class DeviceWorkerStore(SQLBaseStore):
|
|||
"""
|
||||
|
||||
for chunk in batch_iter(to_check, 100):
|
||||
txn.execute(
|
||||
sql % (",".join("?" for _ in chunk),), [from_key] + list(chunk)
|
||||
)
|
||||
txn.execute(sql % (",".join("?" for _ in chunk),), (from_key,) + chunk)
|
||||
changes.update(user_id for user_id, in txn)
|
||||
|
||||
return changes
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue