Skip to content

Conversation

@ulyssa
Copy link
Owner

@ulyssa ulyssa commented Mar 7, 2024

In #205 I added a Need::MESSAGES for every room at startup, which locks up the UI for the first several seconds when there are enough joined rooms. This adds an upper limit on how many load plans we execute in parallel at a time, and moves the receipt loading for a room to be outside of the load_insert function. This reduces the demand on the lock enough that the UI remains responsive.

@ulyssa ulyssa enabled auto-merge (squash) March 7, 2024 07:41
@ulyssa ulyssa merged commit ec81b72 into main Mar 7, 2024
@ulyssa ulyssa deleted the receipts-before-lock branch March 7, 2024 07:49
@ulyssa ulyssa added this to the v0.0.9 milestone Mar 29, 2024
@ulyssa ulyssa mentioned this pull request Mar 29, 2024
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