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

What is the best way to check whether the connection is alive or not? #18

Open
j4in opened this issue Aug 13, 2018 · 1 comment
Open

Comments

@j4in
Copy link

j4in commented Aug 13, 2018

No description provided.

@badboy
Copy link
Collaborator

badboy commented Aug 14, 2018

redis-rs now has an is_open check. We should probably update r2d2-redis to use that now.
r2d2 provides is_valid and has_broken on the ManageConnection.

There should be rarely a need for your own code to care about that though.

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

No branches or pull requests

2 participants