mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
Prepare for Pro 4
This commit is contained in:
parent
cdf6430739
commit
336532c0dd
2 changed files with 48 additions and 0 deletions
32
Pro-4.0-Upgrade.md
Normal file
32
Pro-4.0-Upgrade.md
Normal file
|
@ -0,0 +1,32 @@
|
|||
# Welcome to Sidekiq Pro 4.0!
|
||||
|
||||
Sidekiq Pro 4.0 is designed to work with Sidekiq 5.0.
|
||||
|
||||
## What's New
|
||||
|
||||
* Batches now "die" if any of their jobs die. You can enumerate the set
|
||||
of dead batches and their associated dead jobs. The success callback
|
||||
for a dead batch will never fire unless these jobs are fixed.
|
||||
```ruby
|
||||
Sidekiq::Batch::DeadSet.new.each do |status|
|
||||
status.dead? # => true
|
||||
status.dead_jobs # => [...]
|
||||
end
|
||||
```
|
||||
* The older `reliable_fetch` and `timed_fetch` algorithms have been
|
||||
removed. Only super\_fetch is available in 4.0.
|
||||
* The statsd middleware has been tweaked to remove support for legacy,
|
||||
pre-3.6.0 configuration.
|
||||
|
||||
## Upgrade
|
||||
|
||||
* Upgrade to the latest Sidekiq Pro 3.x.
|
||||
```ruby
|
||||
gem 'sidekiq-pro', '< 4'
|
||||
```
|
||||
* Fix any deprecation warnings you see.
|
||||
* Upgrade to 4.x.
|
||||
```ruby
|
||||
gem 'sidekiq-pro', '< 5'
|
||||
```
|
||||
|
|
@ -4,6 +4,21 @@
|
|||
|
||||
Please see [http://sidekiq.org/](http://sidekiq.org/) for more details and how to buy.
|
||||
|
||||
HEAD
|
||||
---------
|
||||
|
||||
- See the [Sidekiq Pro 4.0](Pro-4.0-Upgrade.md) release notes.
|
||||
|
||||
|
||||
3.7.1
|
||||
---------
|
||||
|
||||
- Deprecate timed\_fetch. Switch to super\_fetch:
|
||||
```ruby
|
||||
config.super_fetch!
|
||||
```
|
||||
|
||||
|
||||
3.7.0
|
||||
---------
|
||||
|
||||
|
@ -11,6 +26,7 @@ Please see [http://sidekiq.org/](http://sidekiq.org/) for more details and how t
|
|||
cases with regard to Sidekiq::Shutdown. This should greatly reduce
|
||||
the chances of seeing the long-standing "negative pending count" problem. [#3710]
|
||||
|
||||
|
||||
3.6.1
|
||||
---------
|
||||
|
||||
|
|
Loading…
Reference in a new issue