Skip to main content

spawn_pass

Function spawn_pass 

Source
pub fn spawn_pass(
    store: Arc<SqliteStore>,
    embedder: Option<Arc<Embedder>>,
    compaction: Compaction,
) -> Result<JoinHandle<()>>
Expand description

Runs the one-time pass on its own thread, retrying a failed run with capped backoff, then the compaction that clears what the pass left on disk. The store records progress of both, so a restart resumes them.