Skip to content

Commit

Permalink
small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
advanced-user committed Jun 12, 2024
1 parent 0eac157 commit 8e3cca7
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 8e3cca7

Please sign in to comment.