Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sliding sync minor performance speed up using new table #17787

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

erikjohnston
Copy link
Member

Use the new tables to work out which rooms have changed.

@erikjohnston erikjohnston marked this pull request as ready for review October 4, 2024 10:43
@erikjohnston erikjohnston requested a review from a team as a code owner October 4, 2024 10:43
for room_id in all_rooms - relevant_room_map.keys()
# We only care about updates to *joined* rooms
if room_membership_for_user_map[room_id].membership
== Membership.JOIN
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually we need to make sure we handle leaves that happen in this section

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant