Skip to content

Remove Mint timeout#241

Merged
ruslandoga merged 1 commit intonewfrom
remove-mint-timeout
Feb 8, 2025
Merged

Remove Mint timeout#241
ruslandoga merged 1 commit intonewfrom
remove-mint-timeout

Conversation

@ruslandoga
Copy link
Copy Markdown
Collaborator

@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