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

Remove Mint timeout #241

Merged
merged 1 commit into from
Feb 8, 2025
Merged

Remove Mint timeout #241

merged 1 commit into from
Feb 8, 2025

Conversation

ruslandoga
Copy link
Contributor

@ruslandoga ruslandoga commented Feb 7, 2025

closes #216

Right now there are two timeout mechanisms, DBConnection's ownership timeout, and Mint's TCP recv timeout. It's complicated and sometimes results in a race condition where the same underlying issue is represented by two different exceptions %Mint.TransportError{reason: :timeout} and DBConnection.ConnectionError. After this PR only DBConnection would be responsible for timeouts.

@ruslandoga ruslandoga force-pushed the remove-mint-timeout branch 3 times, most recently from 514fac8 to 7322545 Compare February 8, 2025 17:41
@ruslandoga ruslandoga marked this pull request as ready for review February 8, 2025 17:52
@ruslandoga ruslandoga merged commit 1d10974 into new Feb 8, 2025
13 checks passed
@ruslandoga ruslandoga deleted the remove-mint-timeout branch February 8, 2025 17:52
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.

1 participant