Skip to content

Conversation

@SessionHero01
Copy link
Collaborator

This PR improves the db query performance by:

  1. Adding new indeice so that finding the last message of a thread is faster
  2. Re-organiszing the message query so that it's simple enough the query plan can use the new indices.

@SessionHero01 SessionHero01 merged commit 506f3c8 into release/1.28.2 Oct 9, 2025
4 checks passed
@SessionHero01 SessionHero01 deleted the improve-db-performance branch October 9, 2025 04:01
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