Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Fix type error that made its way onto develop #13098

Merged
merged 2 commits into from
Jun 17, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.d/13098.feature
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Speed up fetching of device list changes in `/sync` and `/keys/changes`.
4 changes: 2 additions & 2 deletions synapse/storage/databases/main/devices.py
Original file line number Diff line number Diff line change
Expand Up @@ -1245,8 +1245,8 @@ async def get_device_list_changes_in_rooms(

def _get_device_list_changes_in_rooms_txn(
txn: LoggingTransaction,
clause,
args,
clause: str,
args: List[Any],
clokep marked this conversation as resolved.
Show resolved Hide resolved
) -> Set[str]:
txn.execute(sql.format(clause=clause), args)
return {user_id for user_id, in txn}
Expand Down