1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-06 02:15:48 +03:00

Update comments.

This commit is contained in:
Matt Ranney
2010-09-17 15:42:00 -07:00
parent bcbf3834e1
commit 48fd5f712e

View File

@@ -403,7 +403,7 @@ RedisClient.prototype.return_error = function (err) {
command_obj.callback(err);
} else {
console.log("no callback to send error: " + err.stack);
// this will probably not make it anywhere useful, but we might as well try
// this will probably not make it anywhere useful, but we might as well throw
throw err;
}
};
@@ -424,7 +424,7 @@ RedisClient.prototype.return_reply = function (reply_buffer) {
}
command_obj.callback(null, reply_buffer);
} else {
if (this.debug_mode) {
if (exports.debug_mode) {
console.log("no callback for reply: " + reply_buffer.toString());
}
}
@@ -562,10 +562,8 @@ exports.commands.forEach(function (command) {
};
});
// Transactions
// "MULTI", "EXEC", "DISCARD", "WATCH", "UNWATCH",
// Publish/Subscribe
// "SUBSCRIBE", "UNSUBSCRIBE", "PUBLISH",
// Transactions - "DISCARD", "WATCH", "UNWATCH",
// Publish/Subscribe - "SUBSCRIBE", "UNSUBSCRIBE", "PUBLISH",
RedisClient.prototype.multi = function (commands) {
var self = this;