Fix prod build
This commit is contained in:
parent
c13bb5acf7
commit
267e66a880
@ -25,7 +25,7 @@ pub type DbPooledConn = r2d2::PooledConnection<ConnectionManager<dev::VerboseCon
|
|||||||
#[cfg(not(debug_assertions))]
|
#[cfg(not(debug_assertions))]
|
||||||
pub type DbPool = r2d2::Pool<ConnectionManager<PgConnection>>;
|
pub type DbPool = r2d2::Pool<ConnectionManager<PgConnection>>;
|
||||||
#[cfg(not(debug_assertions))]
|
#[cfg(not(debug_assertions))]
|
||||||
pub type DbPooledConn = r2d2::PooledConnection<ConnectionManager<dev::PgConnection>>;
|
pub type DbPooledConn = r2d2::PooledConnection<ConnectionManager<PgConnection>>;
|
||||||
|
|
||||||
pub struct DbExecutor {
|
pub struct DbExecutor {
|
||||||
pub pool: DbPool,
|
pub pool: DbPool,
|
||||||
|
Loading…
Reference in New Issue
Block a user