sidekiq-status 0.8.0 → 0.8.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +3 -0
- data/lib/sidekiq-status/server_middleware.rb +2 -6
- data/lib/sidekiq-status/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c41d96595d97f79ea9391832c190c1fd73521862
|
4
|
+
data.tar.gz: 5e317c347cda80bb6274b663bc67ab092f340df8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 26d7088523de6f578d367a5d0e26f52733ec4164d266c1e0c26d605f16a6f995135152d2188344320a9a63c28cfe2ee6875bb06630c5ec21afdee3ce5d77c1ee
|
7
|
+
data.tar.gz: 5c8e8089b2a7b37aaa444fc1270791af69ee5057af2b7cd26b92d2f5bea11457d3929478dbd538b45cbd9f9c3a313b7a871a4573e2c6c7ddd8db5b684619989d
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,4 @@
|
|
1
|
-
if Sidekiq.major_version
|
2
|
-
require 'sidekiq/middleware/server/retry_jobs'
|
3
|
-
else
|
1
|
+
if Sidekiq.major_version >= 5
|
4
2
|
require 'sidekiq/job_retry'
|
5
3
|
end
|
6
4
|
|
@@ -8,9 +6,7 @@ module Sidekiq::Status
|
|
8
6
|
# Should be in the server middleware chain
|
9
7
|
class ServerMiddleware
|
10
8
|
|
11
|
-
DEFAULT_MAX_RETRY_ATTEMPTS = Sidekiq.major_version
|
12
|
-
Sidekiq::Middleware::Server::RetryJobs::DEFAULT_MAX_RETRY_ATTEMPTS :
|
13
|
-
Sidekiq::JobRetry::DEFAULT_MAX_RETRY_ATTEMPTS
|
9
|
+
DEFAULT_MAX_RETRY_ATTEMPTS = Sidekiq.major_version >= 5 ? Sidekiq::JobRetry::DEFAULT_MAX_RETRY_ATTEMPTS : 25
|
14
10
|
|
15
11
|
include Storage
|
16
12
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sidekiq-status
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Evgeniy Tsvigun
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2018-01-11 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: sidekiq
|