Skip to content

Commit

Permalink
Merge pull request #2501 from IntersectMBO/develop
Browse files Browse the repository at this point in the history
chore: decrease number of active connections
  • Loading branch information
MSzalowski authored Dec 10, 2024
2 parents 4d1d28d + d47e7db commit 7865c16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion govtool/backend/app/Main.hs
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ startApp vvaConfig sentryService = do
, dRepListCache
, networkMetricsCache
}
connectionPool <- createPool (connectPostgreSQL (encodeUtf8 (dbSyncConnectionString $ getter vvaConfig))) close 10 10 120
connectionPool <- createPool (connectPostgreSQL (encodeUtf8 (dbSyncConnectionString $ getter vvaConfig))) close 1 10 60
let appEnv = AppEnv {vvaConfig=vvaConfig, vvaCache=cacheEnv, vvaConnectionPool=connectionPool }
server' <- mkVVAServer appEnv
runSettings settings server'
Expand Down

0 comments on commit 7865c16

Please sign in to comment.