From 8289ec396dc5bc7dbcec7649a2f6f39ca40bbbc6 Mon Sep 17 00:00:00 2001 From: Max Kalashnikoff Date: Wed, 13 Mar 2024 15:47:56 +0100 Subject: [PATCH] fix: increasing PgPool connections to 100 --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index b257c630..2467e6e7 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -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