mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
changes
This commit is contained in:
parent
5c6f26425f
commit
fcff070685
2 changed files with 20 additions and 0 deletions
|
@ -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
|
||||||
|
|
10
Changes.md
10
Changes.md
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue