joaojeronimo / node_redis_cluster

A thin wrapper over node_redis to make it work with Redis Cluster
53 stars 17 forks source link

client.quit does not actually quit the connection to redis server #20

Open kaustubhagrawal2000 opened 9 years ago

kaustubhagrawal2000 commented 9 years ago

Hi. We have had a problem where, when we try and quit the connection by client.quit() the tcp connection to redis server is not actually quit/killed/ended. it still remains and we got a lot of connections on redis server.

I just took a look at the code and could nto find a line of code which actually ended the stream connection.

Any updates on this would be really appriciated.

joaojeronimo commented 9 years ago

Hey,

In that context client is a regular node_redis RedisClient instance, so the method quit you are calling is from there and your issue should be there and not here.