Skip to content

Commit 4e30350

Browse files
authored
Merge pull request #2788 from IntersectMBO/chore/adjust-connection-pooling
chore: increase concurrent connections
2 parents 7859cc2 + 1304095 commit 4e30350

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

govtool/backend/app/Main.hs

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

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

0 commit comments

Comments
 (0)