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

Fix SSLEOFError when connection to DB is lost #34

Merged
merged 4 commits into from
Dec 20, 2024
Merged

Conversation

hailihu
Copy link
Collaborator

@hailihu hailihu commented Dec 20, 2024

For long-lived jobs, the connection to CouchDB can be lost. The code than crashes with an SSLEOFError and the tokens stay locked. This PR fixes that by reconnecting to the DB when this happens.

@hailihu hailihu requested a review from lnauta December 20, 2024 10:56
Copy link
Member

@lnauta lnauta left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@lnauta lnauta merged commit acddc3d into master Dec 20, 2024
4 checks passed
@lnauta lnauta deleted the fix-SSLEOFError branch December 20, 2024 12:14
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.

2 participants