Currently DB connection pool size is hardcoded to 10 here:
|
pool <- liftIO . runLoggerIO checkedLogEnv $ createPostgresqlPoolModified (modifyConn modifyConnString) connStr 10 |
This value should be taken from config (part of esqDBCfg dhall config) at startup.
Currently DB connection pool size is hardcoded to
10here:shared-kernel/lib/mobility-core/src/Kernel/Storage/Esqueleto/Config.hs
Line 52 in 1cbba86
This value should be taken from config (part of
esqDBCfgdhall config) at startup.