diff options
author | Erik Johnston <erik@matrix.org> | 2024-07-11 11:50:34 +0100 |
---|---|---|
committer | Erik Johnston <erik@matrix.org> | 2024-07-11 11:50:34 +0100 |
commit | 6cecb9531f7a2ae21ee6dde31a1484cd2e248a95 (patch) | |
tree | 5e8d9490c8beb97480d0d72c24a1e9c50cc588be | |
parent | Fixup (diff) | |
download | synapse-6cecb9531f7a2ae21ee6dde31a1484cd2e248a95.tar.xz |
Tracing
-rw-r--r-- | synapse/handlers/sliding_sync.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/synapse/handlers/sliding_sync.py b/synapse/handlers/sliding_sync.py index 642369f624..8788d13cc7 100644 --- a/synapse/handlers/sliding_sync.py +++ b/synapse/handlers/sliding_sync.py @@ -405,6 +405,7 @@ class SlidingSyncHandler: return result + @trace async def current_sync_for_user( self, sync_config: SlidingSyncConfig, @@ -866,6 +867,7 @@ class SlidingSyncHandler: return filtered_sync_room_id_set + @trace async def filter_rooms( self, user: UserID, @@ -1004,6 +1006,7 @@ class SlidingSyncHandler: # Assemble a new sync room map but only with the `filtered_room_id_set` return {room_id: sync_room_map[room_id] for room_id in filtered_room_id_set} + @trace async def sort_rooms( self, sync_room_map: Dict[str, _RoomMembershipForUser], |