node-redis-pubsub icon indicating copy to clipboard operation
node-redis-pubsub copied to clipboard

.quit hanging node on exit

Open andrewcharnley opened this issue 7 years ago • 1 comments

I can see that this is calling quit on the redis library. I believe you also want to call .unref() on the connections, see npm redis module doc, in order to allow node to close.

Presently only .end() works.

andrewcharnley avatar Apr 03 '17 13:04 andrewcharnley

Weird, invoking .quit should close the connection according to the node_redis docs. How are you creating the connection in your case? What version of node-redis-pubsub are you using and what version of node_redis do you have installed with it?

RangerMauve avatar Apr 03 '17 15:04 RangerMauve