Skip to content

Commit

Permalink
fix(su): remove accidental connection change
Browse files Browse the repository at this point in the history
  • Loading branch information
VinceJuliano committed May 29, 2024
1 parent 81a656a commit 5eab2ff
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions servers/su/src/domain/clients/store.rs
Original file line number Diff line number Diff line change
Expand Up @@ -75,15 +75,13 @@ impl StoreClient {
let read_manager = ConnectionManager::<PgConnection>::new(database_read_url);
let pool = Pool::builder()
.test_on_check_out(true)
.max_size(1)
.build(manager)
.map_err(|_| {
StoreErrorType::DatabaseError("Failed to initialize connection pool.".to_string())
})?;

let read_pool = Pool::builder()
.test_on_check_out(true)
.max_size(1)
.build(read_manager)
.map_err(|_| {
StoreErrorType::DatabaseError(
Expand Down

0 comments on commit 5eab2ff

Please sign in to comment.