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

Sometimes production postgres has no connections remaining #211

Open
tomaspalma opened this issue Feb 20, 2025 · 1 comment
Open

Sometimes production postgres has no connections remaining #211

tomaspalma opened this issue Feb 20, 2025 · 1 comment
Assignees
Labels
bug Something isn't working high effort high priority

Comments

@tomaspalma
Copy link
Member

This is probably due to the fact there are a lot of operations inside transactions in django.

We must move slow code out of transaction and only put useful code to the transaction inside of it.

Otherwise if too many connections exist, the database connection pool may be exchausted.

@tomaspalma tomaspalma added high priority high effort bug Something isn't working labels Feb 20, 2025
@thePeras
Copy link
Member

This is an interesting issue

@Process-ing Process-ing self-assigned this Feb 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working high effort high priority
Projects
None yet
Development

No branches or pull requests

3 participants