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

juriansluiman picture juriansluiman  路  3Comments

adamgajzlerowicz picture adamgajzlerowicz  路  4Comments

dotSlashLu picture dotSlashLu  路  5Comments

jackycchen picture jackycchen  路  4Comments

aletorrado picture aletorrado  路  6Comments