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

Add sqlalchemy pool_pre_ping option #4087

Closed
wants to merge 1 commit into from

Conversation

zzzepezzz
Copy link

@zzzepezzz zzzepezzz commented Jan 3, 2025

This allow to prevent http 500 error when postgres session is invalid

see: https://docs.sqlalchemy.org/en/20/core/pooling.html#disconnect-handling-pessimistic

Closes #4088

@zzzepezzz zzzepezzz closed this Jan 29, 2025
@zzzepezzz zzzepezzz reopened this Feb 4, 2025
@zzzepezzz zzzepezzz closed this by deleting the head repository Mar 31, 2025
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.

BUG: SQLAlchemy error
1 participant