sidekiq 6.1.3 → 6.2.0
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of sidekiq might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/Changes.md +31 -0
- data/lib/sidekiq/api.rb +15 -3
- data/lib/sidekiq/fetch.rb +9 -1
- data/lib/sidekiq/launcher.rb +26 -0
- data/lib/sidekiq/version.rb +1 -1
- data/lib/sidekiq/web.rb +33 -78
- data/lib/sidekiq/web/application.rb +7 -1
- data/lib/sidekiq/web/csrf_protection.rb +22 -1
- data/lib/sidekiq/web/helpers.rb +13 -4
- data/lib/sidekiq/web/router.rb +4 -1
- data/sidekiq.gemspec +9 -1
- data/web/assets/images/apple-touch-icon.png +0 -0
- data/web/assets/stylesheets/application-dark.css +11 -0
- data/web/assets/stylesheets/application.css +9 -6
- data/web/views/busy.erb +41 -13
- data/web/views/layout.erb +1 -0
- metadata +9 -24
- data/.github/ISSUE_TEMPLATE/bug_report.md +0 -20
- data/.github/contributing.md +0 -32
- data/.github/workflows/ci.yml +0 -41
- data/.gitignore +0 -13
- data/.standard.yml +0 -20
- data/3.0-Upgrade.md +0 -70
- data/4.0-Upgrade.md +0 -53
- data/5.0-Upgrade.md +0 -56
- data/6.0-Upgrade.md +0 -72
- data/COMM-LICENSE +0 -97
- data/Ent-2.0-Upgrade.md +0 -37
- data/Ent-Changes.md +0 -309
- data/Gemfile +0 -24
- data/Gemfile.lock +0 -193
- data/Pro-2.0-Upgrade.md +0 -138
- data/Pro-3.0-Upgrade.md +0 -44
- data/Pro-4.0-Upgrade.md +0 -35
- data/Pro-5.0-Upgrade.md +0 -25
- data/Pro-Changes.md +0 -813
- data/Rakefile +0 -10
- data/code_of_conduct.md +0 -50
data/Gemfile
DELETED
@@ -1,24 +0,0 @@
|
|
1
|
-
source "https://rubygems.org"
|
2
|
-
|
3
|
-
gemspec
|
4
|
-
|
5
|
-
gem "rake"
|
6
|
-
gem "redis-namespace"
|
7
|
-
gem "rails", ">= 6.0.2"
|
8
|
-
gem "sqlite3", platforms: :ruby
|
9
|
-
gem "activerecord-jdbcsqlite3-adapter", platforms: :jruby
|
10
|
-
|
11
|
-
group :test do
|
12
|
-
gem "minitest"
|
13
|
-
gem "simplecov"
|
14
|
-
gem "codecov", require: false
|
15
|
-
end
|
16
|
-
|
17
|
-
group :development, :test do
|
18
|
-
gem "standard"
|
19
|
-
end
|
20
|
-
|
21
|
-
group :load_test do
|
22
|
-
gem "hiredis"
|
23
|
-
gem "toxiproxy"
|
24
|
-
end
|
data/Gemfile.lock
DELETED
@@ -1,193 +0,0 @@
|
|
1
|
-
PATH
|
2
|
-
remote: .
|
3
|
-
specs:
|
4
|
-
sidekiq (6.1.2)
|
5
|
-
connection_pool (>= 2.2.2)
|
6
|
-
rack (~> 2.0)
|
7
|
-
redis (>= 4.2.0)
|
8
|
-
|
9
|
-
GEM
|
10
|
-
remote: https://rubygems.org/
|
11
|
-
specs:
|
12
|
-
actioncable (6.0.3.2)
|
13
|
-
actionpack (= 6.0.3.2)
|
14
|
-
nio4r (~> 2.0)
|
15
|
-
websocket-driver (>= 0.6.1)
|
16
|
-
actionmailbox (6.0.3.2)
|
17
|
-
actionpack (= 6.0.3.2)
|
18
|
-
activejob (= 6.0.3.2)
|
19
|
-
activerecord (= 6.0.3.2)
|
20
|
-
activestorage (= 6.0.3.2)
|
21
|
-
activesupport (= 6.0.3.2)
|
22
|
-
mail (>= 2.7.1)
|
23
|
-
actionmailer (6.0.3.2)
|
24
|
-
actionpack (= 6.0.3.2)
|
25
|
-
actionview (= 6.0.3.2)
|
26
|
-
activejob (= 6.0.3.2)
|
27
|
-
mail (~> 2.5, >= 2.5.4)
|
28
|
-
rails-dom-testing (~> 2.0)
|
29
|
-
actionpack (6.0.3.2)
|
30
|
-
actionview (= 6.0.3.2)
|
31
|
-
activesupport (= 6.0.3.2)
|
32
|
-
rack (~> 2.0, >= 2.0.8)
|
33
|
-
rack-test (>= 0.6.3)
|
34
|
-
rails-dom-testing (~> 2.0)
|
35
|
-
rails-html-sanitizer (~> 1.0, >= 1.2.0)
|
36
|
-
actiontext (6.0.3.2)
|
37
|
-
actionpack (= 6.0.3.2)
|
38
|
-
activerecord (= 6.0.3.2)
|
39
|
-
activestorage (= 6.0.3.2)
|
40
|
-
activesupport (= 6.0.3.2)
|
41
|
-
nokogiri (>= 1.8.5)
|
42
|
-
actionview (6.0.3.2)
|
43
|
-
activesupport (= 6.0.3.2)
|
44
|
-
builder (~> 3.1)
|
45
|
-
erubi (~> 1.4)
|
46
|
-
rails-dom-testing (~> 2.0)
|
47
|
-
rails-html-sanitizer (~> 1.1, >= 1.2.0)
|
48
|
-
activejob (6.0.3.2)
|
49
|
-
activesupport (= 6.0.3.2)
|
50
|
-
globalid (>= 0.3.6)
|
51
|
-
activemodel (6.0.3.2)
|
52
|
-
activesupport (= 6.0.3.2)
|
53
|
-
activerecord (6.0.3.2)
|
54
|
-
activemodel (= 6.0.3.2)
|
55
|
-
activesupport (= 6.0.3.2)
|
56
|
-
activestorage (6.0.3.2)
|
57
|
-
actionpack (= 6.0.3.2)
|
58
|
-
activejob (= 6.0.3.2)
|
59
|
-
activerecord (= 6.0.3.2)
|
60
|
-
marcel (~> 0.3.1)
|
61
|
-
activesupport (6.0.3.2)
|
62
|
-
concurrent-ruby (~> 1.0, >= 1.0.2)
|
63
|
-
i18n (>= 0.7, < 2)
|
64
|
-
minitest (~> 5.1)
|
65
|
-
tzinfo (~> 1.1)
|
66
|
-
zeitwerk (~> 2.2, >= 2.2.2)
|
67
|
-
ast (2.4.1)
|
68
|
-
builder (3.2.4)
|
69
|
-
codecov (0.2.8)
|
70
|
-
json
|
71
|
-
simplecov
|
72
|
-
concurrent-ruby (1.1.7)
|
73
|
-
connection_pool (2.2.3)
|
74
|
-
crass (1.0.6)
|
75
|
-
docile (1.3.2)
|
76
|
-
erubi (1.9.0)
|
77
|
-
globalid (0.4.2)
|
78
|
-
activesupport (>= 4.2.0)
|
79
|
-
hiredis (0.6.3)
|
80
|
-
i18n (1.8.5)
|
81
|
-
concurrent-ruby (~> 1.0)
|
82
|
-
json (2.3.1)
|
83
|
-
loofah (2.7.0)
|
84
|
-
crass (~> 1.0.2)
|
85
|
-
nokogiri (>= 1.5.9)
|
86
|
-
mail (2.7.1)
|
87
|
-
mini_mime (>= 0.1.1)
|
88
|
-
marcel (0.3.3)
|
89
|
-
mimemagic (~> 0.3.2)
|
90
|
-
method_source (1.0.0)
|
91
|
-
mimemagic (0.3.5)
|
92
|
-
mini_mime (1.0.2)
|
93
|
-
mini_portile2 (2.4.0)
|
94
|
-
minitest (5.14.3)
|
95
|
-
nio4r (2.5.2)
|
96
|
-
nokogiri (1.10.10)
|
97
|
-
mini_portile2 (~> 2.4.0)
|
98
|
-
parallel (1.20.1)
|
99
|
-
parser (2.7.2.0)
|
100
|
-
ast (~> 2.4.1)
|
101
|
-
rack (2.2.3)
|
102
|
-
rack-test (1.1.0)
|
103
|
-
rack (>= 1.0, < 3)
|
104
|
-
rails (6.0.3.2)
|
105
|
-
actioncable (= 6.0.3.2)
|
106
|
-
actionmailbox (= 6.0.3.2)
|
107
|
-
actionmailer (= 6.0.3.2)
|
108
|
-
actionpack (= 6.0.3.2)
|
109
|
-
actiontext (= 6.0.3.2)
|
110
|
-
actionview (= 6.0.3.2)
|
111
|
-
activejob (= 6.0.3.2)
|
112
|
-
activemodel (= 6.0.3.2)
|
113
|
-
activerecord (= 6.0.3.2)
|
114
|
-
activestorage (= 6.0.3.2)
|
115
|
-
activesupport (= 6.0.3.2)
|
116
|
-
bundler (>= 1.3.0)
|
117
|
-
railties (= 6.0.3.2)
|
118
|
-
sprockets-rails (>= 2.0.0)
|
119
|
-
rails-dom-testing (2.0.3)
|
120
|
-
activesupport (>= 4.2.0)
|
121
|
-
nokogiri (>= 1.6)
|
122
|
-
rails-html-sanitizer (1.3.0)
|
123
|
-
loofah (~> 2.3)
|
124
|
-
railties (6.0.3.2)
|
125
|
-
actionpack (= 6.0.3.2)
|
126
|
-
activesupport (= 6.0.3.2)
|
127
|
-
method_source
|
128
|
-
rake (>= 0.8.7)
|
129
|
-
thor (>= 0.20.3, < 2.0)
|
130
|
-
rainbow (3.0.0)
|
131
|
-
rake (13.0.1)
|
132
|
-
redis (4.2.5)
|
133
|
-
redis-namespace (1.6.0)
|
134
|
-
redis (>= 3.0.4)
|
135
|
-
regexp_parser (2.0.0)
|
136
|
-
rexml (3.2.4)
|
137
|
-
rubocop (1.4.2)
|
138
|
-
parallel (~> 1.10)
|
139
|
-
parser (>= 2.7.1.5)
|
140
|
-
rainbow (>= 2.2.2, < 4.0)
|
141
|
-
regexp_parser (>= 1.8)
|
142
|
-
rexml
|
143
|
-
rubocop-ast (>= 1.1.1)
|
144
|
-
ruby-progressbar (~> 1.7)
|
145
|
-
unicode-display_width (>= 1.4.0, < 2.0)
|
146
|
-
rubocop-ast (1.3.0)
|
147
|
-
parser (>= 2.7.1.5)
|
148
|
-
rubocop-performance (1.9.1)
|
149
|
-
rubocop (>= 0.90.0, < 2.0)
|
150
|
-
rubocop-ast (>= 0.4.0)
|
151
|
-
ruby-progressbar (1.10.1)
|
152
|
-
simplecov (0.19.0)
|
153
|
-
docile (~> 1.1)
|
154
|
-
simplecov-html (~> 0.11)
|
155
|
-
simplecov-html (0.12.3)
|
156
|
-
sprockets (4.0.2)
|
157
|
-
concurrent-ruby (~> 1.0)
|
158
|
-
rack (> 1, < 3)
|
159
|
-
sprockets-rails (3.2.1)
|
160
|
-
actionpack (>= 4.0)
|
161
|
-
activesupport (>= 4.0)
|
162
|
-
sprockets (>= 3.0.0)
|
163
|
-
sqlite3 (1.4.2)
|
164
|
-
standard (0.10.2)
|
165
|
-
rubocop (= 1.4.2)
|
166
|
-
rubocop-performance (= 1.9.1)
|
167
|
-
thor (1.0.1)
|
168
|
-
thread_safe (0.3.6)
|
169
|
-
toxiproxy (1.0.3)
|
170
|
-
tzinfo (1.2.7)
|
171
|
-
thread_safe (~> 0.1)
|
172
|
-
unicode-display_width (1.7.0)
|
173
|
-
websocket-driver (0.7.3)
|
174
|
-
websocket-extensions (>= 0.1.0)
|
175
|
-
websocket-extensions (0.1.5)
|
176
|
-
zeitwerk (2.4.0)
|
177
|
-
|
178
|
-
PLATFORMS
|
179
|
-
ruby
|
180
|
-
|
181
|
-
DEPENDENCIES
|
182
|
-
activerecord-jdbcsqlite3-adapter
|
183
|
-
codecov
|
184
|
-
hiredis
|
185
|
-
minitest
|
186
|
-
rails (>= 6.0.2)
|
187
|
-
rake
|
188
|
-
redis-namespace
|
189
|
-
sidekiq!
|
190
|
-
simplecov
|
191
|
-
sqlite3
|
192
|
-
standard
|
193
|
-
toxiproxy
|
data/Pro-2.0-Upgrade.md
DELETED
@@ -1,138 +0,0 @@
|
|
1
|
-
# Upgrading to Sidekiq Pro 2.0
|
2
|
-
|
3
|
-
Sidekiq Pro 2.0 allows nested batches for more complex job workflows
|
4
|
-
and provides a new reliable scheduler which uses Lua to guarantee
|
5
|
-
atomicity and much higher performance.
|
6
|
-
|
7
|
-
It also removes deprecated APIs, changes the batch data format and
|
8
|
-
how features are activated. Read carefully to ensure your upgrade goes
|
9
|
-
smoothly.
|
10
|
-
|
11
|
-
Sidekiq Pro 2.0 requires Sidekiq 3.3.2 or greater. Redis 2.8 is
|
12
|
-
recommended; Redis 2.4 or 2.6 will work but some functionality will not be
|
13
|
-
available.
|
14
|
-
|
15
|
-
**Note that you CANNOT go back to Pro 1.x once you've created batches
|
16
|
-
with 2.x. The new batches will not process correctly with 1.x.**
|
17
|
-
|
18
|
-
**If you are on a version of Sidekiq Pro <1.5, you should upgrade to the
|
19
|
-
latest 1.x version and run it for a week before upgrading to 2.0.**
|
20
|
-
|
21
|
-
## Nested Batches
|
22
|
-
|
23
|
-
Batches can now be nested within the `jobs` method.
|
24
|
-
This feature enables Sidekiq Pro to handle workflow processing of any size
|
25
|
-
and complexity!
|
26
|
-
|
27
|
-
```ruby
|
28
|
-
a = Sidekiq::Batch.new
|
29
|
-
a.on(:success, SomeCallback)
|
30
|
-
a.jobs do
|
31
|
-
SomeWork.perform_async
|
32
|
-
|
33
|
-
b = Sidekiq::Batch.new
|
34
|
-
b.on(:success, MyCallback)
|
35
|
-
b.jobs do
|
36
|
-
OtherWork.perform_async
|
37
|
-
end
|
38
|
-
end
|
39
|
-
```
|
40
|
-
|
41
|
-
Parent batch callbacks are not processed until all child batch callbacks have
|
42
|
-
run successfully. In the example above, `MyCallback` will always fire
|
43
|
-
before `SomeCallback` because `b` is considered a child of `a`.
|
44
|
-
|
45
|
-
Of course you can dynamically add child batches while a batch job is executing.
|
46
|
-
|
47
|
-
```ruby
|
48
|
-
def perform(*args)
|
49
|
-
do_something(args)
|
50
|
-
|
51
|
-
if more_work?
|
52
|
-
# Sidekiq::Worker#batch returns the Batch this job is part of.
|
53
|
-
batch.jobs do
|
54
|
-
b = Sidekiq::Batch.new
|
55
|
-
b.on(:success, MyCallback)
|
56
|
-
b.jobs do
|
57
|
-
OtherWork.perform_async
|
58
|
-
end
|
59
|
-
end
|
60
|
-
end
|
61
|
-
end
|
62
|
-
```
|
63
|
-
|
64
|
-
More context: [#1485]
|
65
|
-
|
66
|
-
## Batch Data
|
67
|
-
|
68
|
-
The batch data model was overhauled. Batch data should take
|
69
|
-
significantly less space in Redis now. A simple benchmark shows 25%
|
70
|
-
savings but real world savings should be even greater.
|
71
|
-
|
72
|
-
* Batch 2.x BIDs are 14 character URL-safe Base64-encoded strings, e.g.
|
73
|
-
"vTF1-9QvLPnREQ". Batch 1.x BIDs were 16 character hex-encoded
|
74
|
-
strings, e.g. "4a3fc67d30370edf".
|
75
|
-
* In 1.x, batch data was not removed until it naturally expired in Redis.
|
76
|
-
In 2.x, all data for a batch is removed from Redis once the batch has
|
77
|
-
run any success callbacks.
|
78
|
-
* Because of the former point, batch expiry is no longer a concern.
|
79
|
-
Batch expiry is hardcoded to 30 days and is no longer user-tunable.
|
80
|
-
* Failed batch jobs no longer automatically store any associated
|
81
|
-
backtrace in Redis.
|
82
|
-
|
83
|
-
**There's no data migration required. Sidekiq Pro 2.0 transparently handles
|
84
|
-
both old and new format.**
|
85
|
-
|
86
|
-
More context: [#2130]
|
87
|
-
|
88
|
-
## Reliability
|
89
|
-
|
90
|
-
2.0 brings a new reliable scheduler which uses Lua inside Redis so enqueuing
|
91
|
-
scheduled jobs is atomic. Benchmarks show it 50x faster when enqueuing
|
92
|
-
lots of jobs.
|
93
|
-
|
94
|
-
**Two caveats**:
|
95
|
-
- Client-side middleware is not executed
|
96
|
-
for each job when enqueued with the reliable scheduler. No Sidekiq or
|
97
|
-
Sidekiq Pro functionality is affected by this change but some 3rd party
|
98
|
-
plugins might be.
|
99
|
-
- The Lua script used inside the reliable scheduler is not safe for use
|
100
|
-
with Redis Cluster or other multi-master Redis solutions.
|
101
|
-
It is safe to use with Redis Sentinel or a typical master/slave replication setup.
|
102
|
-
|
103
|
-
**You no longer require anything to use the Reliability features.**
|
104
|
-
|
105
|
-
* Activate reliable fetch and/or the new reliable scheduler:
|
106
|
-
```ruby
|
107
|
-
Sidekiq.configure_server do |config|
|
108
|
-
config.reliable_fetch!
|
109
|
-
config.reliable_scheduler!
|
110
|
-
end
|
111
|
-
```
|
112
|
-
* Activate reliable push:
|
113
|
-
```ruby
|
114
|
-
Sidekiq::Client.reliable_push!
|
115
|
-
```
|
116
|
-
|
117
|
-
More context: [#2130]
|
118
|
-
|
119
|
-
## Other Changes
|
120
|
-
|
121
|
-
* You must require `sidekiq/pro/notifications` if you want to use the
|
122
|
-
existing notification schemes. I don't recommend using them as the
|
123
|
-
newer-style `Sidekiq::Batch#on` method is simpler and more flexible.
|
124
|
-
* Several classes have been renamed. Generally these classes are ones
|
125
|
-
you should not need to require/use in your own code, e.g. the Batch
|
126
|
-
middleware.
|
127
|
-
* You can add `attr_accessor :jid` to a Batch callback class and Sidekiq
|
128
|
-
Pro will set it to the jid of the callback job. [#2178]
|
129
|
-
* There's now an official API to iterate all known Batches [#2191]
|
130
|
-
```ruby
|
131
|
-
Sidekiq::BatchSet.new.each {|status| p status.bid }
|
132
|
-
```
|
133
|
-
* The Web UI now shows the Sidekiq Pro version in the footer. [#1991]
|
134
|
-
|
135
|
-
## Thanks
|
136
|
-
|
137
|
-
Adam Prescott, Luke van der Hoeven and Jon Hyman all provided valuable
|
138
|
-
feedback during the release process. Thank you guys!
|
data/Pro-3.0-Upgrade.md
DELETED
@@ -1,44 +0,0 @@
|
|
1
|
-
# Welcome to Sidekiq Pro 3.0!
|
2
|
-
|
3
|
-
Sidekiq Pro 3.0 is designed to work with Sidekiq 4.0.
|
4
|
-
|
5
|
-
## What's New
|
6
|
-
|
7
|
-
* **Redis 2.8.0 or greater is required.** Redis 2.8 was released two years
|
8
|
-
ago and contains **many** useful features which Sidekiq couldn't
|
9
|
-
leverage until now. **Redis 3.0.3 or greater is recommended** for large
|
10
|
-
scale use.
|
11
|
-
|
12
|
-
* Sidekiq Pro no longer uses Celluloid. If your application code uses Celluloid,
|
13
|
-
you will need to pull it in yourself.
|
14
|
-
|
15
|
-
* Pausing and unpausing queues is now instantaneous, no more polling!
|
16
|
-
|
17
|
-
* Reliable fetch has been re-implemented due to the fetch changes in
|
18
|
-
Sidekiq 4.0.
|
19
|
-
|
20
|
-
* Support for platforms without persistent hostnames. Since the reliable\_fetch
|
21
|
-
algorithm requires a persistent hostname, an alternative reliability
|
22
|
-
algorithm is now available for platforms like Heroku and Docker:
|
23
|
-
```ruby
|
24
|
-
Sidekiq.configure_server do |config|
|
25
|
-
config.timed_fetch!
|
26
|
-
end
|
27
|
-
```
|
28
|
-
The wiki contains [much more detail about each reliability option](https://github.com/mperham/sidekiq/wiki/Pro-Reliability-Server).
|
29
|
-
|
30
|
-
* The old 'sidekiq/notifications' features have been removed.
|
31
|
-
|
32
|
-
## Upgrade
|
33
|
-
|
34
|
-
First, make sure you are using Redis 2.8 or greater. Next:
|
35
|
-
|
36
|
-
* Upgrade to the latest Sidekiq Pro 2.x.
|
37
|
-
```ruby
|
38
|
-
gem 'sidekiq-pro', '< 3'
|
39
|
-
```
|
40
|
-
* Fix any deprecation warnings you see.
|
41
|
-
* Upgrade to 3.x.
|
42
|
-
```ruby
|
43
|
-
gem 'sidekiq-pro', '< 4'
|
44
|
-
```
|
data/Pro-4.0-Upgrade.md
DELETED
@@ -1,35 +0,0 @@
|
|
1
|
-
# Welcome to Sidekiq Pro 4.0!
|
2
|
-
|
3
|
-
Sidekiq Pro 4.0 is designed to work with Sidekiq 5.0.
|
4
|
-
|
5
|
-
## What's New
|
6
|
-
|
7
|
-
* Batches now "die" if any of their jobs die. You can enumerate the set
|
8
|
-
of dead batches and their associated dead jobs. The success callback
|
9
|
-
for a dead batch will never fire unless these jobs are fixed.
|
10
|
-
```ruby
|
11
|
-
Sidekiq::Batch::DeadSet.new.each do |status|
|
12
|
-
status.dead? # => true
|
13
|
-
status.dead_jobs # => [...]
|
14
|
-
end
|
15
|
-
```
|
16
|
-
This API allows you to enumerate the batches which need help.
|
17
|
-
If you fix the issue and the dead jobs succeed, the batch will succeed.
|
18
|
-
* The older `reliable_fetch` and `timed_fetch` algorithms have been
|
19
|
-
removed. Only super\_fetch is available in 4.0.
|
20
|
-
* The statsd middleware has been tweaked to remove support for legacy,
|
21
|
-
pre-3.6.0 configuration and add relevant tags.
|
22
|
-
* Requires Sidekiq 5.0.5+.
|
23
|
-
|
24
|
-
## Upgrade
|
25
|
-
|
26
|
-
* Upgrade to the latest Sidekiq Pro 3.x.
|
27
|
-
```ruby
|
28
|
-
gem 'sidekiq-pro', '< 4'
|
29
|
-
```
|
30
|
-
* Fix any deprecation warnings you see.
|
31
|
-
* Upgrade to 4.x.
|
32
|
-
```ruby
|
33
|
-
gem 'sidekiq-pro', '< 5'
|
34
|
-
```
|
35
|
-
|
data/Pro-5.0-Upgrade.md
DELETED
@@ -1,25 +0,0 @@
|
|
1
|
-
# Welcome to Sidekiq Pro 5.0!
|
2
|
-
|
3
|
-
Sidekiq Pro 5.0 is mainly a cleanup release for Sidekiq 6.0. The
|
4
|
-
migration should be as close to trivial as a major version bump can be.
|
5
|
-
Note that Sidekiq 6.0 does have major breaking changes.
|
6
|
-
|
7
|
-
## What's New
|
8
|
-
|
9
|
-
* New localizations for the Sidekiq Pro Web UI: ES, ZH, PT, JA, RU
|
10
|
-
* Removed deprecated APIs and warnings.
|
11
|
-
* Various changes for Sidekiq 6.0
|
12
|
-
* Requires Ruby 2.5+ and Redis 4.0+
|
13
|
-
* Requires Sidekiq 6.0+.
|
14
|
-
|
15
|
-
## Upgrade
|
16
|
-
|
17
|
-
* Upgrade to the latest Sidekiq Pro 4.x.
|
18
|
-
```ruby
|
19
|
-
gem 'sidekiq-pro', '< 5'
|
20
|
-
```
|
21
|
-
* Fix any deprecation warnings you see.
|
22
|
-
* Upgrade to 5.x.
|
23
|
-
```ruby
|
24
|
-
gem 'sidekiq-pro', '< 6'
|
25
|
-
```
|