We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d5d96fd commit 1aded12Copy full SHA for 1aded12
lib/consumer.js
@@ -104,7 +104,7 @@ class Consumer extends EventEmitter {
104
this._redisPub.publish(callbackKey, callbackData);
105
this._debug('reply: %s <- %s', callbackKey, callbackData);
106
107
- this._redisPub.lrem(this._processingQueueKey, 0, originData);
+ this._redisPub.lrem(this._processingQueueKey, -1, originData);
108
this._debug('delete msg: %s :: %s', this._processingQueueKey, originData);
109
110
this._processing.delete(producerName + ':' + msgId);
0 commit comments