pub fn spawn_catalog_indexer(app: AppHandle)Expand description
Start the background catalog indexer.
Replaces the frontend’s startup-only syncCatalog() call: index freshness is
sync policy and belongs in Rust (see the layer assignment in
docs/architecture/03-data-flow.md, “Search Flow”). Ticks every
CATALOG_INDEX_TICK and
runs a pass when a repository exists, the server is reachable, and the index
is older than CATALOG_INDEX_TTL.
TRACES: UR-065 | DR-109, IR-030