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