summary refs log tree commit diff
path: root/synapse/storage/databases/main/devices.py
diff options
context:
space:
mode:
authorPatrick Cloke <patrickc@matrix.org>2023-11-08 07:45:34 -0500
committerPatrick Cloke <patrickc@matrix.org>2023-11-08 07:45:34 -0500
commitb77c9c3f735cfaf7ecab624a72d02dfe302dbe90 (patch)
tree03ec9900056e384a2a4d0ea0a9ae11ef533b0059 /synapse/storage/databases/main/devices.py
parentMerge remote-tracking branch 'origin/develop' into matrix-org-hotfixes (diff)
parentAvoid updating the same rows multiple times with simple_update_many_txn. (#16... (diff)
downloadsynapse-b77c9c3f735cfaf7ecab624a72d02dfe302dbe90.tar.xz
Merge remote-tracking branch 'origin/develop' into matrix-org-hotfixes
Diffstat (limited to 'synapse/storage/databases/main/devices.py')
-rw-r--r--synapse/storage/databases/main/devices.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/synapse/storage/databases/main/devices.py b/synapse/storage/databases/main/devices.py

index 303ef6ea27..34d6c52e39 100644 --- a/synapse/storage/databases/main/devices.py +++ b/synapse/storage/databases/main/devices.py
@@ -705,7 +705,7 @@ class DeviceWorkerStore(RoomMemberWorkerStore, EndToEndKeyWorkerStore): key_names=("destination", "user_id"), key_values=[(destination, user_id) for user_id, _ in rows], value_names=("stream_id",), - value_values=((stream_id,) for _, stream_id in rows), + value_values=[(stream_id,) for _, stream_id in rows], ) # Delete all sent outbound pokes