Skip to content

Commit 5e3a1c1

Browse files
committed
chore: decrease number of active connections
1 parent 60c5196 commit 5e3a1c1

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)