Sidekiq v1.2.0 Release Notes
-
- Full or partial error backtraces can optionally be stored as part of the retry for display in the web UI if you aren't using an error service. [#155]
class Worker include Sidekiq::Worker sidekiq_options :backtrace => [true || 10] end
- ➕ Add timeout option to kill a worker after N seconds (blackgold9)
class HangingWorker include Sidekiq::Worker sidekiq_options :timeout => 600 def perform # will be killed if it takes longer than 10 minutes end end
- 🛠 Fix delayed extensions not available in workers [#152]
- ✅ In test environments add the
#drain
class method to workers. This method executes all previously queued jobs. (panthomakos) - ✅ Sidekiq workers can be run inline during tests, just
require 'sidekiq/testing/inline'
(panthomakos) - 💻 Queues can now be deleted from the Sidekiq web UI [#154]
- 🛠 Fix unnecessary shutdown delay due to Retry Poller [#174]