pub fn spawn(
store: Arc<SqliteStore>,
embedder: Option<Arc<Embedder>>,
vaults: Vec<PathBuf>,
machine_id: String,
clock: Arc<ClockGate>,
bootstrap: Arc<Bootstrap>,
)Expand description
Runs VaultSync over the configured vaults every SCAN_INTERVAL, once
the clock gate lets writes through. No thread starts when no vault is
configured.