Skip to content

Commit

Permalink
fix: increasing PgPool connections to 100
Browse files Browse the repository at this point in the history
  • Loading branch information
geekbrother committed Mar 13, 2024
1 parent 248dc5b commit 8289ec3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ pub mod state;
pub mod stores;
pub mod supabase;

const PG_CONNECTION_POOL_SIZE: u32 = 30;
const PG_CONNECTION_POOL_SIZE: u32 = 100;

pub async fn bootstap(mut shutdown: broadcast::Receiver<()>, config: Config) -> error::Result<()> {
// Check config is valid and then throw the error if its not
Expand Down

0 comments on commit 8289ec3

Please sign in to comment.