Add parameter for db pool size

This commit is contained in:
Tobias Reisinger 2024-05-10 18:03:07 +02:00
parent ca6988b01f
commit 6df724f2db
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE

View file

@ -64,7 +64,7 @@ async fn main() -> Result<(), std::io::Error> {
init_logging(&settings.logging.level)?;
let pool = db::init(&settings.database)
let pool = db::init(&settings.database, 5)
.await
.map_err(EmgauwaError::from)?;