Node-redis: NodeRedis don't exit process when using .end .quit

Created on 18 Sep 2018  路  1Comment  路  Source: NodeRedis/node-redis

In my test suite I need to up a redis connection and when all tests is done I need to close the connection and free the event loop of redis connection strem.
The methods are list dosn't free the event loop.
I solve with: process.exit(0)

Some other way to do that?

>All comments

I think you want client.quit().

Was this page helpful?
0 / 5 - 0 ratings

Related issues

jackycchen picture jackycchen  路  4Comments

id0Sch picture id0Sch  路  4Comments

Atala picture Atala  路  3Comments

Mickael-van-der-Beek picture Mickael-van-der-Beek  路  6Comments

twappworld picture twappworld  路  7Comments