Skip to content

Commit 7865c16

Browse files
authored
Merge pull request #2501 from IntersectMBO/develop
chore: decrease number of active connections
2 parents 4d1d28d + d47e7db commit 7865c16

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

govtool/backend/app/Main.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ startApp vvaConfig sentryService = do
125125
, dRepListCache
126126
, networkMetricsCache
127127
}
128-
connectionPool <- createPool (connectPostgreSQL (encodeUtf8 (dbSyncConnectionString $ getter vvaConfig))) close 10 10 120
128+
connectionPool <- createPool (connectPostgreSQL (encodeUtf8 (dbSyncConnectionString $ getter vvaConfig))) close 1 10 60
129129
let appEnv = AppEnv {vvaConfig=vvaConfig, vvaCache=cacheEnv, vvaConnectionPool=connectionPool }
130130
server' <- mkVVAServer appEnv
131131
runSettings settings server'

0 commit comments

Comments
 (0)