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

fix: also lazy load members for archive #1917

Merged
merged 1 commit into from
Sep 17, 2024
Merged

Conversation

nico-famedly
Copy link
Member

This should speed up loading the archived rooms. One of the reasons it was so slow, is because we were loading all room members!

Additionally this may work around a bug in Synapse, where rooms stuck in their partial state may block sync indefinitely.

Relates to https://github.com/famedly/product-management/issues/2250

@nico-famedly nico-famedly marked this pull request as ready for review September 16, 2024 09:13
@nico-famedly nico-famedly requested a review from a team as a code owner September 16, 2024 09:13
This should speed up loading the archived rooms. One of the reasons it
was so slow, is because we were loading all room members!

Additionally this may work around a bug in Synapse, where rooms stuck in
their partial state may block sync indefinitely.

Relates to famedly/product-management#2250
Copy link
Contributor

@mErrenst mErrenst left a comment

Choose a reason for hiding this comment

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

Probably I can't see a difference because the account I tested it with was too small but at least it doesn't look worse + the code looks good

@nico-famedly nico-famedly merged commit 12f45e7 into main Sep 17, 2024
14 of 15 checks passed
@nico-famedly nico-famedly deleted the nico/fix-archive-load branch September 17, 2024 10:55
@mErrenst
Copy link
Contributor

Oh, was already merged XD

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.

2 participants