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

Redis hiredis client close client connections after idle timeout #2376

Open
suriu1981 opened this issue Feb 9, 2015 · 2 comments
Open

Redis hiredis client close client connections after idle timeout #2376

suriu1981 opened this issue Feb 9, 2015 · 2 comments

Comments

@suriu1981
Copy link

Hello,
Is there a way to close idle redis connections using client side API's(hiredis C client library)?

Just like "timeout xxx" parameter in redis.conf which help to silently close the idle client connections after timeout value on the redis server side, but does not notify the client about the closed connection.

-Thanks.

@badboy
Copy link
Contributor

badboy commented Feb 9, 2015

CLIENT KILL should do the trick. http://redis.io/commands/client-kill

Keep in mind that this issue tracker should be used for bugs or improvements to the Redis server. For questions like yours please ask on the mailing list or ask in the irc channel #redis on freenode.

@mattsta
Copy link
Contributor

mattsta commented Feb 9, 2015

Point of information: hiredis support is at https://github.com/redis/hiredis

This issue tracker is only for filing bugs or improvements to the Redis server itself.

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