|
|
@ -1128,8 +1128,8 @@ Connection.prototype._enqueue = function(fullcmd, promote, cb) {
|
|
|
|
this._queue.push(info);
|
|
|
|
this._queue.push(info);
|
|
|
|
|
|
|
|
|
|
|
|
if (!this._curReq) {
|
|
|
|
if (!this._curReq) {
|
|
|
|
// defer until next tick for requests like APPEND where access to the
|
|
|
|
// defer until next tick for requests like APPEND and FETCH where access to
|
|
|
|
// request object is needed immediately after enqueueing
|
|
|
|
// the request object is needed immediately after enqueueing
|
|
|
|
process.nextTick(function() { self._processQueue(); });
|
|
|
|
process.nextTick(function() { self._processQueue(); });
|
|
|
|
} else if (this._curReq.type === 'IDLE') {
|
|
|
|
} else if (this._curReq.type === 'IDLE') {
|
|
|
|
this._idle.enabled = false;
|
|
|
|
this._idle.enabled = false;
|
|
|
|