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

feat: add ECONNRESET to retry condition #123

Merged
merged 1 commit into from
Dec 6, 2021
Merged

feat: add ECONNRESET to retry condition #123

merged 1 commit into from
Dec 6, 2021

Conversation

iRoachie
Copy link
Contributor

@iRoachie iRoachie commented Dec 2, 2021

ECONNRESET happens when the sql connection is closed from the server side. This will now retry the query with a new connection when this error is thrown.

Closes #69

ECONNRESET happens when the sql connection is closed from the server side. This will now retry the query with a new connection when this error is thrown
@jeremydaly jeremydaly merged commit 1f752c6 into jeremydaly:master Dec 6, 2021
@iRoachie iRoachie deleted the econnreset branch December 6, 2021 14:42
@pianomansam
Copy link

@jeremydaly any chance we can get a release with this?

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: Occasional EPIPE exception when using idle database connection
3 participants