Skip to content

Commit f0e1fd3

Browse files
authored
Merge pull request #2792 from IntersectMBO/chore/adjust-connection-pooling
chore: adjust connection pooling
2 parents 4e30350 + d778226 commit f0e1fd3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

govtool/backend/app/Main.hs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -70,9 +70,9 @@ createOptimizedConnectionPool :: BS.ByteString -> IO (Pool Connection)
7070
createOptimizedConnectionPool connectionString = createPool
7171
(connectPostgreSQL connectionString) -- Connection creation function
7272
close -- Connection destruction function
73-
16 -- Number of stripes (sub-pools)
74-
30 -- Idle timeout (seconds)
75-
50 -- Maximum number of connections per stripe
73+
1 -- Idle timeout (seconds)
74+
2 -- Number of stripes (sub-pools)
75+
60 -- Maximum number of connections per stripe
7676

7777
proxyAPI :: Proxy (VVAApi :<|> SwaggerAPI)
7878
proxyAPI = Proxy

0 commit comments

Comments
 (0)