sidekiq-priority_queue 1.0.4 → 1.0.5

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: 041d042d2b08144431bc0e2ea76043e0f5f7e5cec5c28fc1c5a76b17c5390069
4
- data.tar.gz: e2e2dc2e38375942d02a93740191a4aca744caa8d3462667dbd63780e0585ff6
3
+ metadata.gz: e6f96814c578dd2c2009fc89c069aa41df566f1fb81bc2b058b9d2fc8247fc9c
4
+ data.tar.gz: f55d5611495b8d61969508ab89124e0027685b182cd5ebdb8c72595417e534df
5
5
  SHA512:
6
- metadata.gz: b02c99baec57233cc4d315662faeb078d75d4bf887d43ec22cbec313bb4e1b7f2716236c1cbae27284871bd335d9701d26bb7ab9737438212e5448aa0ef2858a
7
- data.tar.gz: 48e42a6e9eb50b28ae3446a4aacbdb3294fc734b48421fb4cbe86fc3add06b0feaf95c1eed3f60f1ae2a0e0e1b372c979f05097a8dbfbefd3c416143a0716c0c
6
+ metadata.gz: '084d4acf2bff8504fadeefb141ca6617cbfa7ed8241cc1fbb93367d2ab844c1acaec11b771b89b933165b391400929b21176ffcc053ca1f5a4bc09807936f6ac'
7
+ data.tar.gz: c6628032befb4f253463df37ea0335d76434938b230891c51a779124e9f7bf5828e5e30b9de2c19c2a9ed76a02bf567059f737d797f335f3ca7b591e331354d6
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- sidekiq-priority_queue (1.0.4)
4
+ sidekiq-priority_queue (1.0.5)
5
5
  sidekiq (>= 6.2.2)
6
6
 
7
7
  GEM
@@ -127,7 +127,7 @@ module Sidekiq
127
127
  overall_moved_count += 1
128
128
  end
129
129
  # Below we simply remove old WIP queue
130
- conn.srem(previously_handled_queue) if conn.scard(previously_handled_queue) == 0
130
+ conn.del(previously_handled_queue) if conn.scard(previously_handled_queue) == 0
131
131
  Sidekiq.logger.debug { "Priority ReliableFetch: Moved #{queue_moved_size} jobs from ##{previously_handled_queue} back to original_queue: #{original_priority_queue_name} "}
132
132
  end
133
133
 
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'sidekiq-priority_queue'
3
- s.version = '1.0.4'
3
+ s.version = '1.0.5'
4
4
  s.date = '2018-07-31'
5
5
  s.summary = "Priority Queuing for Sidekiq"
6
6
  s.description = "An extension for Sidekiq allowing jobs in a single queue to be executed by a priority score rather than FIFO"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sidekiq-priority_queue
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.4
4
+ version: 1.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jacob Matthews