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

fix: simplify db config a bit more #330

Merged

Conversation

ojeytonwilliams
Copy link
Contributor

Checklist:

This removes unused properties, prevents creation of a pool and removes the dev defaults from the production config.

I removed the pool because it does not scale well. Handling that inside the app forces us to scale the apps and database in lockstep to avoid overwhelming/underutilising the database.

I removed the properties we are not currently using and the pool. If we
want to provide a pool, we can create a service for it (e.g. pgBouncer)
@ojeytonwilliams ojeytonwilliams requested a review from a team as a code owner November 14, 2023 11:42
Copy link
Member

@sidemt sidemt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, and thanks for explaining the intent of the changes 👍

@ojeytonwilliams ojeytonwilliams merged commit 2008e53 into freeCodeCamp:main Nov 20, 2023
7 checks passed
@ojeytonwilliams ojeytonwilliams deleted the refactor/simplify-db-config branch November 20, 2023 14:03
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

Successfully merging this pull request may close these issues.

2 participants