Simplify
This commit is contained in:
parent
1461b41a36
commit
7f3ec69cf6
7 changed files with 236 additions and 158 deletions
|
|
@ -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();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue