mirror of
https://github.com/element-hq/synapse.git
synced 2024-12-14 11:57:44 +00:00
f6c2b0ec2e
For rooms with a name we can skip fetching a full room summary, as we don't need to calculate heroes, and instead just fetch the room counts directly. This also changes things to not return counts and heroes for non-joined rooms. For left/banned rooms we were returning zero values anyway, and for invite/knock rooms we don't really want to leak such information (even if some of is included in the stripped state).
1 line
93 B
Text
1 line
93 B
Text
Speed up sliding sync by reducing amount of data pulled out of the database for large rooms.
|