Skip to content

Commit

Permalink
Merge pull request #2793 from IntersectMBO/develop
Browse files Browse the repository at this point in the history
chore: adjust connection pooling
  • Loading branch information
MSzalowski authored Jan 28, 2025
2 parents 68e6e63 + f0e1fd3 commit 0ccd2c6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions govtool/backend/app/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,9 @@ createOptimizedConnectionPool :: BS.ByteString -> IO (Pool Connection)
createOptimizedConnectionPool connectionString = createPool
(connectPostgreSQL connectionString) -- Connection creation function
close -- Connection destruction function
16 -- Number of stripes (sub-pools)
30 -- Idle timeout (seconds)
50 -- Maximum number of connections per stripe
1 -- Idle timeout (seconds)
2 -- Number of stripes (sub-pools)
60 -- Maximum number of connections per stripe

proxyAPI :: Proxy (VVAApi :<|> SwaggerAPI)
proxyAPI = Proxy
Expand Down

0 comments on commit 0ccd2c6

Please sign in to comment.