Class: Sidekiq::DeadSet
Instance Attribute Summary
Attributes inherited from SortedSet
Instance Method Summary collapse
-
#initialize ⇒ DeadSet
constructor
A new instance of DeadSet.
- #retry_all ⇒ Object
Methods inherited from JobSet
#delete, #each, #fetch, #find_job, #schedule
Methods inherited from SortedSet
Constructor Details
#initialize ⇒ DeadSet
Returns a new instance of DeadSet.
502 503 504 |
# File 'lib/sidekiq/api.rb', line 502 def initialize super 'dead' end |
Instance Method Details
#retry_all ⇒ Object
506 507 508 509 510 |
# File 'lib/sidekiq/api.rb', line 506 def retry_all while size > 0 each(&:retry) end end |