carlos8f / haredis

High-availability redis in Node.js.
https://npmjs.org/package/haredis
154 stars 21 forks source link

How do you end/close a haredis connection? #2

Closed nickminutello closed 11 years ago

nickminutello commented 12 years ago

The end() method on the underlying connection doesnt seem to be present on haredis. What are you meant to do instead to close down all connections & free resources?

nickminutello commented 12 years ago

I found I could call .quit()

But quit() doesnt actually quit if one of the connections are down? (it keeps trying to connect)

carlos8f commented 12 years ago

probably a bug, will put it on the "todo" list.

nickminutello commented 12 years ago

Cheers, thanks