You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-10 11:43:01 +03:00
Send QUIT instead of closing the connection with client.end().
This commit is contained in:
@@ -9,5 +9,5 @@ client.hkeys("hash key", function (err, replies) {
|
||||
replies.forEach(function (reply, i) {
|
||||
console.log(" " + i + ": " + reply);
|
||||
});
|
||||
client.end();
|
||||
client.quit();
|
||||
});
|
||||
|
Reference in New Issue
Block a user