refactor: drop postgres backend
This commit is contained in:
@@ -13,10 +13,6 @@ pub async fn create(
|
||||
EventBusBackend::Db => {
|
||||
tracing::info!("event bus: DB queue");
|
||||
match db_pool {
|
||||
#[cfg(feature = "postgres")]
|
||||
DbPool::Postgres(pool) => Ok(
|
||||
postgres_event_queue::PostgresEventQueue::create_channel(pool.clone()).await?,
|
||||
),
|
||||
#[cfg(feature = "sqlite")]
|
||||
DbPool::Sqlite(pool) => {
|
||||
Ok(sqlite_event_queue::SqliteEventQueue::create_channel(pool.clone()).await?)
|
||||
|
||||
Reference in New Issue
Block a user