Add parameter for db pool size
This commit is contained in:
parent
ca6988b01f
commit
6df724f2db
1 changed files with 1 additions and 1 deletions
|
@ -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)?;
|
||||
|
||||
|
|
Loading…
Reference in a new issue