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

Sync #2

Merged
merged 28 commits into from
Sep 13, 2019
Merged

Sync #2

merged 28 commits into from
Sep 13, 2019

Conversation

furdarius
Copy link
Owner

No description provided.

furdarius and others added 28 commits July 26, 2019 11:14
Signed-off-by: Artemiy Ryabinkov <[email protected]>
For consistency with other functions supplied in Config.
PreparedStatementDescription was too long. It also no longer entirely
represents its purpose now that it is also intended for use with
described statements.
IsAlive is ambiguous because the connection may be dead and we do not
know it. It implies the possibility of a ping. IsClosed is clearer -- it
does not promise the connection is alive only that it hasn't been
closed.

fixes #2
- Use strongly typed errors internally
- SafeToRetry(error) streamlines retry logic over ErrNoBytesSent
- Timeout(error) removes the need to choose between returning a context
  and an i/o error
- Access TxStatus via method
- Make Config private

fixes #7
@furdarius furdarius merged commit 51cf0d5 into furdarius:master Sep 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants