Skip to content

Commit

Permalink
Merge pull request #2788 from IntersectMBO/chore/adjust-connection-po…
Browse files Browse the repository at this point in the history
…oling

chore: increase concurrent connections
  • Loading branch information
MSzalowski authored Jan 28, 2025
2 parents 7859cc2 + 1304095 commit 4e30350
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions govtool/backend/app/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 4e30350

Please sign in to comment.