You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-06 02:15:48 +03:00
Use debug statement for incoming data
This commit is contained in:
2
index.js
2
index.js
@@ -116,7 +116,7 @@ RedisClient.prototype.install_stream_listeners = function() {
|
||||
|
||||
this.stream.on('data', function (buffer_from_socket) {
|
||||
// The data.toString() has a significant impact on big chunks and therefor this should only be used if necessary
|
||||
// debug('Net read ' + this.address + ' id ' + this.connection_id + ': ' + data.toString());
|
||||
debug('Net read ' + this.address + ' id ' + this.connection_id); // + ': ' + data.toString());
|
||||
self.reply_parser.execute(buffer_from_socket);
|
||||
});
|
||||
|
||||
|
Reference in New Issue
Block a user