sidekiq-status 1.1.0 → 1.1.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b7b21776f1059a82b3a04c1e81639bcfba2c9184a00906688639333b2ee0df42
4
- data.tar.gz: 06ffc2506014272d4a40272cc3204696efed21fee426000da8b6c3a6c5e183d9
3
+ metadata.gz: db6a8c9de958b260f3c12afef53ed33781ebbc227bbdf3b14792b41fb3ad2e20
4
+ data.tar.gz: 9226346a24ff25fed5608d2fd75671c5f7ae4c637c44bbf096f9cd67464b4996
5
5
  SHA512:
6
- metadata.gz: a0f173c573f137b0626b9a76d8977e4d536083e685d376f8ea6201a9d9ed8f48b793f3e59b5f06e57c0c518210ffe7c1fefebbfce9ea4033e77a270eab73d9f1
7
- data.tar.gz: 4f963ddaaa7f5a205fc9b6927ed994734f177a6438dd893ba2df435aa626c15614c3676b33d1feaaea03c341cfedb7e344e1a862e004acbd457ae7f9347cabd9
6
+ metadata.gz: fc3a3e5537f38c180df517dcb69674fa8cef9b1938b57324db8e26b41bcaf9b3c0ef0857f5b9ebbb6ee54106440e33203d2f1d8f4f5ccea4e205ae9d71b67c6f
7
+ data.tar.gz: c1223771b2b7d8101d7f9ae3ef602c81cb1e408d66b6411023a2f37c7b9022d2f21dbb93addb12a8327847cb2e327df5c883f909ada59d85abdfe2f333619ba5
@@ -1,5 +1,8 @@
1
+ **Version 1.1.1**
2
+ * Uses SCAN rather than KEYS when retrieving job ids from Redis (#139)
3
+
1
4
  **Version 1.1.0**
2
- + Fixes the use case of multiple services sharing the same redis instance (#135)
5
+ + Fixes the use case of multiple services sharing the same Redis instance (#135)
3
6
 
4
7
  **Version 1.0.2**
5
8
  + Fixes status not being set to `:failed` after retries
@@ -37,14 +40,14 @@
37
40
  **Version 0.6.0**
38
41
  + Updated Web UI
39
42
  + Will have all job statuses, previously it was showing only :working status
40
- + Bootstrap lables instead of badges for status
43
+ + Bootstrap labels instead of badges for status
41
44
  + Added Arguments column to statuses page
42
45
  + New :interrupted status added
43
46
  + Added way to specify :expiration for Sidekiq::Status::ClientMiddleware
44
- + Bug fixes & Code cleaup
47
+ + Bug fixes & Code cleanup
45
48
 
46
49
  **Version 0.5.3**
47
- + some tweaks in web UI, separate redis namespace
50
+ + some tweaks in web UI, separate Redis namespace
48
51
 
49
52
  **Version 0.5.2**
50
53
  + Sidekiq versions up to 3.3.* supported, jobs sorting options in web UI, more ruby versions
@@ -53,7 +56,7 @@
53
56
  + dependencies versions requirements relaxed
54
57
 
55
58
  **Version 0.5.0**
56
- + Sidekiq v3 support, redis pools support
59
+ + Sidekiq v3 support, Redis pools support
57
60
 
58
61
  **Version 0.4.0**
59
62
  + WebUI added, per-worker expiration setting enabled
@@ -1,5 +1,5 @@
1
1
  module Sidekiq
2
2
  module Status
3
- VERSION = '1.1.0'
3
+ VERSION = '1.1.1'
4
4
  end
5
5
  end
@@ -75,8 +75,11 @@ module Sidekiq::Status
75
75
 
76
76
  app.get '/statuses' do
77
77
 
78
- namespace_jids = Sidekiq.redis{ |conn| conn.keys('sidekiq:status:*') }
79
- jids = namespace_jids.map{ |id_namespace| id_namespace.split(':').last }
78
+ jids = Sidekiq.redis do |conn|
79
+ conn.scan_each(match: 'sidekiq:status:*', count: 100).map do |key|
80
+ key.split(':').last
81
+ end.uniq
82
+ end
80
83
  @statuses = []
81
84
 
82
85
  jids.each do |jid|
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: 1.1.0
4
+ version: 1.1.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: 2018-08-11 00:00:00.000000000 Z
12
+ date: 2018-12-19 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: sidekiq
@@ -187,7 +187,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
187
187
  version: '0'
188
188
  requirements: []
189
189
  rubyforge_project:
190
- rubygems_version: 2.7.3
190
+ rubygems_version: 2.7.6
191
191
  signing_key:
192
192
  specification_version: 4
193
193
  summary: An extension to the sidekiq message processing to track your jobs