-
fix(pi-fff): dedup concurrent aux finders and bound grep time (#746) (#750)
发布于
2026-08-06 01:41:02 +00:00 - fix(pi-fff): dedup concurrent aux finders and bound grep time (#746)
Concurrent AuxFinderPool.acquire() calls for the same root each started a
full scan because entries was populated only after waitForScan() resolved.
Coalesce in-flight creations by root via a pending map. Also pass a finite
timeBudgetMs to native grep (sync call, uninterruptible by AbortSignal) and
skip the fuzzy fallback when the exact pass left a nextCursor.Refs #746
- Apply suggestions from code review
Co-authored-by: Dmitriy Kovalenko dmitriy@iusevimbtw.com
- fix typo
Co-authored-by: Dmitriy Kovalenko dmitriy@iusevimbtw.com
Co-authored-by: gustav-fff 286169375+gustav-fff@users.noreply.github.com
Co-authored-by: Dmitriy Kovalenko dmitriy@iusevimbtw.com下载附件