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)