This commit is contained in:
Silas Brack 2026-03-07 13:09:53 +01:00
parent 1461b41a36
commit 7f3ec69cf6
7 changed files with 236 additions and 158 deletions

View file

@ -66,8 +66,7 @@ pub async fn run(config: &Config) {
let _ = std::fs::remove_file(format!("{db_path}-wal"));
let _ = std::fs::remove_file(format!("{db_path}-shm"));
let (writer, ready_rx) = db::spawn_writer(db_path.to_string());
ready_rx.await.expect("writer failed to initialize");
let writer = db::WriterHandle::new(db_path);
let volume_urls = config.volume_urls();