Skip to content

Commit

Permalink
increase pool size to 800
Browse files Browse the repository at this point in the history
  • Loading branch information
CapCap committed Jan 22, 2024
1 parent 61a7b14 commit 7432bb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rust/processor/src/utils/database.rs
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ pub async fn new_db_pool(database_url: &str) -> Result<PgDbPool, PoolError> {
};
let pool = Pool::builder()
// TODO: MAKE THIS CONFIGURABLE!
.max_size(400)
.max_size(800)
.build(config)
.await?;
Ok(Arc::new(pool))
Expand Down

0 comments on commit 7432bb8

Please sign in to comment.