-
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: Parallelize Legacy Indexing Service Lookup (#125)
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 Co-authored-by: frrist <[email protected]>
- Loading branch information
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