Fix prod build

This commit is contained in:
Adrian Woźniak 2020-04-26 13:53:44 +02:00
parent c13bb5acf7
commit 267e66a880

View File

@ -25,7 +25,7 @@ pub type DbPooledConn = r2d2::PooledConnection<ConnectionManager<dev::VerboseCon
#[cfg(not(debug_assertions))]
pub type DbPool = r2d2::Pool<ConnectionManager<PgConnection>>;
#[cfg(not(debug_assertions))]
pub type DbPooledConn = r2d2::PooledConnection<ConnectionManager<dev::PgConnection>>;
pub type DbPooledConn = r2d2::PooledConnection<ConnectionManager<PgConnection>>;
pub struct DbExecutor {
pub pool: DbPool,