fix: Increase the db-pool-timeout to 1 hour
This commit is contained in:
committed by
Steve Chavez
parent
0c5d2e553e
commit
df7d71db32
@@ -214,7 +214,7 @@ parser optPath env dbSettings =
|
||||
<*> optWithAlias (optInt "db-max-rows")
|
||||
(optInt "max-rows")
|
||||
<*> (fromMaybe 10 <$> optInt "db-pool")
|
||||
<*> (fromIntegral . fromMaybe 10 <$> optInt "db-pool-timeout")
|
||||
<*> (fromIntegral . fromMaybe 3600 <$> optInt "db-pool-timeout")
|
||||
<*> (fmap toQi <$> optWithAlias (optString "db-pre-request")
|
||||
(optString "pre-request"))
|
||||
<*> (fromMaybe True <$> optBool "db-prepared-statements")
|
||||
|
||||
Reference in New Issue
Block a user