Skip to content

Commit

Permalink
Merge pull request #2502 from IntersectMBO/test
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 143496f + 7865c16 commit d58ec62
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 d58ec62

Please sign in to comment.