1
0
Fork 0
mirror of https://github.com/mperham/sidekiq.git synced 2022-11-09 13:52:34 -05:00
This commit is contained in:
Mike Perham 2019-07-24 10:59:00 -07:00
parent 5c6f26425f
commit fcff070685
2 changed files with 20 additions and 0 deletions

View file

@ -7,6 +7,16 @@ of Sidekiq. It also drops support for EOL versions of Ruby and Rails.
This release has major breaking changes. Read and test carefully in production. This release has major breaking changes. Read and test carefully in production.
- ActiveJobs can now use `sidekiq_options` directly to configure Sidekiq
features/internals like the retry subsystem.
```ruby
class MyJob < ActiveJob::Base
queue_as :myqueue
sidekiq_options retry: 10, backtrace: 20
def perform(...)
end
end
```
- Logging has been redesigned to allow pluggable formatters and several - Logging has been redesigned to allow pluggable formatters and several
formats ship with Sidekiq: formats ship with Sidekiq:
* default - your typical output on macOS * default - your typical output on macOS

View file

@ -7,6 +7,16 @@
This release has major breaking changes. Read and test carefully in production. This release has major breaking changes. Read and test carefully in production.
- ActiveJobs can now use `sidekiq_options` directly to configure Sidekiq
features/internals like the retry subsystem.
```ruby
class MyJob < ActiveJob::Base
queue_as :myqueue
sidekiq_options retry: 10, backtrace: 20
def perform(...)
end
end
```
- **BREAKING CHANGE** Validate proper usage of the `REDIS_PROVIDER` - **BREAKING CHANGE** Validate proper usage of the `REDIS_PROVIDER`
variable. This variable is meant to hold the name of the environment variable. This variable is meant to hold the name of the environment
variable which contains your Redis URL, so that you can switch Redis variable which contains your Redis URL, so that you can switch Redis