node-resque
Advanced tools
Comparing version 0.2.2 to 0.2.3
@@ -98,3 +98,3 @@ var util = require('util'); | ||
callback = count; | ||
count = 0; // remove all enqueued items that match | ||
count = 1; // remove first enqueued items that match | ||
} | ||
@@ -101,0 +101,0 @@ self.connection.redis.lrem(self.connection.key('queue', q), count, self.encode(q, func, args), function(err, count){ |
@@ -323,3 +323,3 @@ var os = require("os"); | ||
} | ||
if (( self.queues[0] === '*' && self.queues.length == 1 ) || self.queues.length === 0 || self.originalQueue == "*" ) { | ||
if (( self.queues[0] === '*' && self.queues.length == 1 ) || self.queues.length === 0 ) { | ||
self.originalQueue = "*"; | ||
@@ -326,0 +326,0 @@ self.untrack(self.name, self.stringQueues(), function(){ |
@@ -5,3 +5,3 @@ { | ||
"description": "an opinionated implementation of resque in node", | ||
"version": "0.2.2", | ||
"version": "0.2.3", | ||
"homepage": "http://github.com/taskrabbit/node-resque", | ||
@@ -8,0 +8,0 @@ "repository": { |
59836