class Sidekiq::DeadSet
Allows enumeration of dead jobs within Sidekiq.
Public Class Methods
max_jobs()
click to toggle source
# File lib/sidekiq/api.rb, line 640 def self.max_jobs Sidekiq.options[:dead_max_jobs] end
new()
click to toggle source
Calls superclass method
Sidekiq::SortedSet.new
# File lib/sidekiq/api.rb, line 630 def initialize super 'dead' end
timeout()
click to toggle source
# File lib/sidekiq/api.rb, line 644 def self.timeout Sidekiq.options[:dead_timeout_in_seconds] end
Public Instance Methods
retry_all()
click to toggle source
# File lib/sidekiq/api.rb, line 634 def retry_all while size > 0 each(&:retry) end end