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

Update config.py #60

Merged
merged 4 commits into from
Feb 9, 2024
Merged

Conversation

fras2560
Copy link
Owner

@fras2560 fras2560 commented Feb 9, 2024

Outlined by https://stackoverflow.com/questions/55457069/how-to-fix-operationalerror-psycopg2-operationalerror-server-closed-the-conn/67421581#67421581

Fly.io seems to close the connection and pre_ping should notice for such issues and recycle the connection if it was closed

@fras2560 fras2560 merged commit 8a4148f into main Feb 9, 2024
1 check passed
@fras2560 fras2560 deleted the bugfix/address-database-connection-closing branch February 10, 2024 00:33
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.

1 participant