-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[keyserver] Filter fetchThreadInfos queries to only look at viewer's …
…threads Summary: This attempts strategy 3 outlined in [ENG-3877](https://linear.app/comm/issue/ENG-3877/avoid-global-fetchserverthreadinfos). Depends on D8513 Test Plan: I started this task by testing various queries in the production environment to check performance. After implementing the change, I used this patch to check performance on the JS side in my dev environment, and to output raw queries so I could test their performance in production: https://gist.github.com/Ashoat/220bb35da34ac7820867ac874d87beab I found that for all users other than me, this change significantly sped up `fetchThreadInfos`. I then deployed this to production to test performance more reliably. Hopefully so far no issues! Reviewers: tomek, atul Reviewed By: tomek Differential Revision: https://phab.comm.dev/D8514
- Loading branch information
Showing
1 changed file
with
53 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters