Skip to content

Commit

Permalink
Merge 77fa6d9 into 69ae64c
Browse files Browse the repository at this point in the history
  • Loading branch information
jakewilkins committed Apr 10, 2017
2 parents 69ae64c + 77fa6d9 commit 8652d59
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/resque/failure/redis_multi_queue.rb
Expand Up @@ -30,7 +30,7 @@ def self.count(queue = nil, class_name = nil)
if queue
if class_name
n = 0
each(0, count(queue), queue, class_name) { n += 1 }
each(0, count(queue), queue, class_name) { n += 1 }
n
else
data_store.num_failed(queue).to_i
Expand Down Expand Up @@ -79,7 +79,7 @@ def self.requeue(id, queue = :failed)
end

def self.remove(id, queue = :failed)
data_store.remove_from_queue(id,queue)
data_store.remove_from_failed_queue(id,queue)
end

def self.requeue_queue(queue)
Expand Down

0 comments on commit 8652d59

Please sign in to comment.