Skip to content

redis client stucks when doing a command after a period of inactivity #623

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

Closed
ahvin2020 opened this issue Jul 10, 2014 · 1 comment
Closed

Comments

@ahvin2020
Copy link

After period of inactivity, about 20 minutes, when I try to run a redis command, e.g.

redis_client.get("some_value", function(err, result) {
console.log(result);
});

The code doesn't reach "console.log(result);" line, any idea why? I'm also listening to the "end" or "error" event, but they aren't called either. I have already set the redis server timeout to be 0.

@brycebaril
Copy link
Contributor

I think this is the same as #570 -- closing for now, please reopen if the fix to that (once released) proves this to be a separate issue.

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

3 participants