pub fn spawn_embed_ticker(state: Arc<McpServerState>)Expand description
Spawns a background thread that runs pending-chunk embedding on a fixed interval.
The ticker starts immediately at MCP startup and runs independently of the vault watcher or any hook activity. If the embedding sidecar is unavailable, the error is recorded in diagnostics and the ticker continues on the next tick.
If the thread fails to spawn, the error is silently ignored; the MCP server continues without the ticker.