This commit is contained in:
müde 2026-05-15 00:14:49 +02:00
parent a59fe081f4
commit b20055293e
2 changed files with 3 additions and 6 deletions

View file

@ -56,8 +56,8 @@ impl Broker {
std::fs::create_dir_all(parent)
.with_context(|| format!("create db parent {}", parent.display()))?;
}
let conn = Connection::open(path)
.with_context(|| format!("open broker db {}", path.display()))?;
let conn =
Connection::open(path).with_context(|| format!("open broker db {}", path.display()))?;
conn.execute_batch(SCHEMA).context("apply broker schema")?;
let (events, _) = broadcast::channel(EVENT_CHANNEL);
Ok(Self {