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

OCT-2282: Lowering the db connection pool size & adding settings for it #594

Merged

Conversation

adam-gf
Copy link
Contributor

@adam-gf adam-gf commented Dec 18, 2024

Description

To better handle the pool size of postgres we lowered the pool size from 100 and moved params to dedicated config.
The issue probably is due to the fact that pg has (default) 100 connection and pool size of sqlalchemy was equal to it, causing overflows / connection drops because of reached limit.

Copy link

linear bot commented Dec 18, 2024

@adam-gf adam-gf self-assigned this Dec 18, 2024
@adam-gf adam-gf added the request-approval Request approval from the Housekeeper label Dec 18, 2024
@adam-gf adam-gf requested a review from kgarbacinski December 18, 2024 09:57
kgarbacinski
kgarbacinski previously approved these changes Dec 18, 2024
Copy link
Contributor

@kgarbacinski kgarbacinski left a comment

Choose a reason for hiding this comment

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

lgtm but let's test it empirically as well

@housekeeper-bot housekeeper-bot removed the request-approval Request approval from the Housekeeper label Dec 18, 2024
Copy link
Contributor

@housekeeper-bot housekeeper-bot left a comment

Choose a reason for hiding this comment

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

E2E job #12390550774 failed 💥

@adam-gf adam-gf added the request-approval Request approval from the Housekeeper label Dec 18, 2024
@housekeeper-bot housekeeper-bot removed the request-approval Request approval from the Housekeeper label Dec 18, 2024
Copy link
Contributor

@housekeeper-bot housekeeper-bot left a comment

Choose a reason for hiding this comment

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

E2E job #12391451471 passed 🎉

@adam-gf adam-gf merged commit 95d249f into develop Dec 18, 2024
47 checks passed
@adam-gf adam-gf deleted the adam/oct-2282-align-the-pool-size-of-db-connection-to-avoid branch December 18, 2024 12:39
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.

3 participants