Skip to content

Commit

Permalink
Hook individual failure removal into multiple failure backend
Browse files Browse the repository at this point in the history
  • Loading branch information
cehoffman authored and defunkt committed Mar 22, 2011
1 parent b569484 commit 246a082
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/resque/failure/multiple.rb
Expand Up @@ -45,6 +45,10 @@ def self.clear
def self.requeue(*args)
classes.first.requeue(*args)
end

def self.remove(index)
classes.each { |klass| klass.remove(index) }
end
end
end
end
end

0 comments on commit 246a082

Please sign in to comment.