Skip to content

Reconnection Strategies for Psycopg in High-Usage Scenarios After Connection Failures #742

Closed Answered by dvarrazzo
matthew-k2001 asked this question in Q&A
Discussion options

You must be logged in to vote

Check the pool documentation for this topic. You can use check() to check all the connections of the database and/or the check parameter in the pool constructor if you are ok to pay the price of an extra query per connection.

Replies: 2 comments 8 replies

Comment options

You must be logged in to vote
2 replies
@matthew-k2001
Comment options

@matthew-k2001
Comment options

Answer selected by matthew-k2001
Comment options

You must be logged in to vote
6 replies
@matthew-k2001
Comment options

@dvarrazzo
Comment options

@matthew-k2001
Comment options

@dvarrazzo
Comment options

@matthew-k2001
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants