From 13040951055a66b2e097f596876995fbd8924adc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Sza=C5=82owski?= Date: Tue, 28 Jan 2025 10:53:15 +0100 Subject: [PATCH] chore: increase concurrent connections --- govtool/backend/app/Main.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/govtool/backend/app/Main.hs b/govtool/backend/app/Main.hs index 3222798d1..e6fe22bb6 100644 --- a/govtool/backend/app/Main.hs +++ b/govtool/backend/app/Main.hs @@ -70,8 +70,8 @@ createOptimizedConnectionPool :: BS.ByteString -> IO (Pool Connection) createOptimizedConnectionPool connectionString = createPool (connectPostgreSQL connectionString) -- Connection creation function close -- Connection destruction function - 1 -- Number of stripes (sub-pools) - 60 -- Idle timeout (seconds) + 16 -- Number of stripes (sub-pools) + 30 -- Idle timeout (seconds) 50 -- Maximum number of connections per stripe proxyAPI :: Proxy (VVAApi :<|> SwaggerAPI)