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 +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: d38778d4157be814c0e7ec903fb6c3c346c20501
|
4
|
+
data.tar.gz: e811761c11e993f65e9f50e8660e2c56dbcad9b6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
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
|
|