Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make DB connection pool size configurable #93

Open
NikithShetty opened this issue Apr 25, 2023 · 0 comments
Open

Make DB connection pool size configurable #93

NikithShetty opened this issue Apr 25, 2023 · 0 comments
Assignees

Comments

@NikithShetty
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants