You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-07 13:22:56 +03:00
Merge pull request #819 from NodeRedis/815-tweaks
minor tweaks to how we spawn tests in #815
This commit is contained in:
@@ -8,7 +8,7 @@ exports.name = "hiredis";
|
||||
|
||||
function HiredisReplyParser(options) {
|
||||
this.name = exports.name;
|
||||
this.options = options || {};
|
||||
this.options = options;
|
||||
this.reset();
|
||||
events.EventEmitter.call(this);
|
||||
}
|
||||
@@ -27,12 +27,7 @@ HiredisReplyParser.prototype.execute = function (data) {
|
||||
var reply;
|
||||
this.reader.feed(data);
|
||||
while (true) {
|
||||
try {
|
||||
reply = this.reader.get();
|
||||
} catch (err) {
|
||||
this.emit("error", err);
|
||||
break;
|
||||
}
|
||||
reply = this.reader.get();
|
||||
|
||||
if (reply === undefined) {
|
||||
break;
|
||||
|
@@ -12,7 +12,7 @@ exports.name = "javascript";
|
||||
|
||||
function ReplyParser(options) {
|
||||
this.name = exports.name;
|
||||
this.options = options || { };
|
||||
this.options = options;
|
||||
|
||||
this._buffer = null;
|
||||
this._offset = 0;
|
||||
|
Reference in New Issue
Block a user