sidekiq-reliable-fetch 0.2.0 → 0.2.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
  SHA1:
3
- metadata.gz: 803136d2fb9cf9eb4f60b0b54618e489616d763a
4
- data.tar.gz: 8371867f1f2ce011d710d91dd0d2a3a09ab1c739
3
+ metadata.gz: d38778d4157be814c0e7ec903fb6c3c346c20501
4
+ data.tar.gz: e811761c11e993f65e9f50e8660e2c56dbcad9b6
5
5
  SHA512:
6
- metadata.gz: ac47ebe55522819896e610f2b8bc59f69026d23967fe5611c32e6383c13ac14732ebd4f7d1884368ac43e967f958ff4b3441178407e2bdedbb8cecb00f9d55f8
7
- data.tar.gz: 2a8f9651f266ddb272fbba06f149b7879b9f406f92a90ea74b09f9772048f900c147a48832dc7d47374093742281073065b72aeb2a660165e067b3eb0170d7c8
6
+ metadata.gz: 1b93bea2b9578d3da745717853407b1d56675822feeabe2ba4efeababed735892b85385ba75bea4f3e7b02ace0d7209ba86d688b1eda07978ea061e45b15fc99
7
+ data.tar.gz: fe647f3dcfa6d9d91b3b2e2eb82ad4e2e10cdcfce04efd16e935d261212f13e594bf0914d103e81414dde40a2227a407328f50be57dfaa422811148b9711e74b
@@ -27,7 +27,7 @@ module Sidekiq
27
27
  def retrieve_work
28
28
  clean_working_queues! if @cleaning_interval != -1 && @nb_fetched_jobs >= @cleaning_interval
29
29
 
30
- for i in 0..@queues_size
30
+ @queues_size.time do
31
31
  queue = @queues_iterator.next
32
32
  work = Sidekiq.redis { |conn| conn.rpoplpush(queue, "#{queue}:#{WORKING_QUEUE}") }
33
33
 
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'sidekiq-reliable-fetch'
3
- s.version = '0.2.0'
3
+ s.version = '0.2.1'
4
4
  s.authors = ['TEA']
5
5
  s.email = 'technique@tea-ebook.com'
6
6
  s.license = 'LGPL-3.0'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sidekiq-reliable-fetch
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - TEA