-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(indexing): parallelize primary and legacy queries for faster loo…
…kups Previously, the Query method in IndexingService executed lookups sequentially: 1. Query the normal indexing service. 2. If no results were found, query the block index store. This forced an unnecessary delay when results were only available in the block index store. Changes: - Run the primary (indexing service) and legacy (block index store) queries in parallel. - If the primary query returns results, the legacy query is immediately canceled. - Maintain the original behavior: prioritize primary results and only fall back to legacy if needed. - closes #122
- Loading branch information
frrist
committed
Feb 12, 2025
1 parent
feb3f7b
commit 01fa090
Showing
1 changed file
with
81 additions
and
49 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