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

Retrying queries in case of connection errors #28

Open
runeksvendsen opened this issue Sep 8, 2019 · 0 comments

Comments

@runeksvendsen
Copy link

commented Sep 8, 2019

I would like to use this library in a way that enables automatic retrying of query executions that fail because of intermittent (e.g. connection-related) errors — using the retry library.

However, I cannot see any exceptions related to this in the Database.PostgreSQL.Simple module.

Which exceptions would I need to pass to Control.Retry.recovering in order to retry a query in case of an intermittent error?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.