-
- Downloads
Optimise calculating device_list changes in `/sync`. (#11974)
For users with large accounts it is inefficient to calculate the set of users they share a room with (and takes a lot of space in the cache). Instead we can look at users whose devices have changed since the last sync and check if they share a room with the syncing user.
Showing
- changelog.d/11974.misc 1 addition, 0 deletionschangelog.d/11974.misc
- synapse/handlers/sync.py 53 additions, 15 deletionssynapse/handlers/sync.py
- synapse/storage/databases/main/devices.py 10 additions, 0 deletionssynapse/storage/databases/main/devices.py
- synapse/storage/databases/main/roommember.py 62 additions, 0 deletionssynapse/storage/databases/main/roommember.py
Loading
Please register or sign in to comment