Skip to content

Commit

Permalink
Merge pull request #43 from Learn-Quickly/dev
Browse files Browse the repository at this point in the history
small fix
  • Loading branch information
advanced-user committed Jun 12, 2024
2 parents 0ffb436 + 8e3cca7 commit 13b1012
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/libs/lib-db/src/store/db_manager.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ impl DbManager {
}

pub async fn new_db_pool() -> sqlx::Result<Db> {
let max_connections = if cfg!(test) { 1 } else { 5 };
let max_connections = if cfg!(test) { 1 } else { 8 };

PgPoolOptions::new()
.max_connections(max_connections)
Expand Down

0 comments on commit 13b1012

Please sign in to comment.