1
0
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:
Matt Ranney
2010-09-23 12:26:25 -07:00
parent 7c90bd8f04
commit a774d9aef5

View File

@@ -9,5 +9,5 @@ client.hkeys("hash key", function (err, replies) {
replies.forEach(function (reply, i) {
console.log(" " + i + ": " + reply);
});
client.end();
client.quit();
});