refactor: merge sqlite adapter family into one crate
This commit is contained in:
@@ -40,8 +40,6 @@ infra-wiring = { workspace = true }
|
||||
async-trait = { workspace = true }
|
||||
|
||||
sqlite = { workspace = true }
|
||||
sqlite-event-queue = { workspace = true }
|
||||
sqlite-search = { workspace = true }
|
||||
|
||||
# Optional — federation
|
||||
activitypub = { workspace = true, optional = true }
|
||||
|
||||
@@ -14,7 +14,7 @@ pub async fn create(
|
||||
tracing::info!("event bus: DB queue");
|
||||
match db_pool {
|
||||
DbPool::Sqlite(pool) => {
|
||||
Ok(sqlite_event_queue::SqliteEventQueue::create_channel(pool.clone()).await?)
|
||||
Ok(sqlite::SqliteEventQueue::create_channel(pool.clone()).await?)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user