sidekiq-reliable-fetch 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sidekiq/reliable_fetcher.rb +1 -1
- data/sidekiq-reliable-fetch.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: adbcaa11802f255165736b26905eb19b3412c02b
|
4
|
+
data.tar.gz: 054f9ba7b8f3ca48b2e750b35ff5d88699ed090e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7fb0736ba176c67dd696bd9449d63615a19df7912f72ace78baf479e0b2e2605e611299afff09b1a2a2ac7b7077e1921d8a3b244cef07b465ec53dddb39a3f80
|
7
|
+
data.tar.gz: b22234684aeda6ba28d5452ce5421890003d2ee400f08c8bb5b8bbb741cb001eed43a8f31f2239211afe33734caa7f9b42d7098fd8124dafcb86d45d4eaa42ce
|
@@ -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
|
-
@queues_size.
|
30
|
+
@queues_size.times do
|
31
31
|
queue = @queues_iterator.next
|
32
32
|
work = Sidekiq.redis { |conn| conn.rpoplpush(queue, "#{queue}:#{WORKING_QUEUE}") }
|
33
33
|
|