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

Fire the individual original callbacks when using transactions

Fixes #1089
This commit is contained in:
Ruben Bridgewater
2016-06-16 12:03:47 +02:00
parent ed57f440c7
commit de0a9628aa
3 changed files with 10 additions and 0 deletions

View File

@@ -36,6 +36,7 @@ function pipeline_transaction_command (self, command_obj, index) {
// Keep track of who wants buffer responses:
// By the time the callback is called the command_obj got the buffer_args attribute attached
self.wants_buffers[index] = command_obj.buffer_args;
command_obj.callback = tmp;
};
self._client.internal_send_command(command_obj);
}