1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00

ch-ch-ch-changes

This commit is contained in:
Mike Perham 2016-01-18 15:50:52 -05:00
parent 0f8c914ddb
commit 3f6940b606

View file

@ -4,7 +4,21 @@ HEAD
-----------
- Tag quiet processes in the Web UI [#2757, jcarlson]
- Add native support for ActiveJob's `set(options)` method allowing
you to override worker options dynamically. This should make it
even easier to switch between ActiveJob and Sidekiq's native APIs [#2780]
```ruby
class MyWorker
include Sidekiq::Worker
sidekiq_options queue: 'default', retry: true
def perform(*args)
# do something
end
end
MyWorker.set(queue: 'high', retry: false).perform_async(1)
```
4.0.2
-----------