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

Feature: Push down connection-checked errors into non-pooled connection code #9

Open
carlsverre opened this issue Oct 7, 2016 · 0 comments

Comments

@carlsverre
Copy link
Contributor

Right now, when an error occurs in a pooled connection we test to determine if its a connection exception or not - and if it is we raise PoolConnectionException. The idea of this task is to push that logic down into database.py such that all connections have this helpful exception logic. This is helpful since connections can crash due to a lot of different exceptions - and you usually just care that the connection is down.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant