sidekiq-reliable-fetch 0.2.2 → 0.2.3

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: adbcaa11802f255165736b26905eb19b3412c02b
4
- data.tar.gz: 054f9ba7b8f3ca48b2e750b35ff5d88699ed090e
3
+ metadata.gz: a6c94563f370074743ff5f389fd3ec9ce6ce314a
4
+ data.tar.gz: 43d29834c4159951e274789a96bcd71b553929d8
5
5
  SHA512:
6
- metadata.gz: 7fb0736ba176c67dd696bd9449d63615a19df7912f72ace78baf479e0b2e2605e611299afff09b1a2a2ac7b7077e1921d8a3b244cef07b465ec53dddb39a3f80
7
- data.tar.gz: b22234684aeda6ba28d5452ce5421890003d2ee400f08c8bb5b8bbb741cb001eed43a8f31f2239211afe33734caa7f9b42d7098fd8124dafcb86d45d4eaa42ce
6
+ metadata.gz: 5a05dad7ed7ff3715686e649a78d9068c7e5545ce8df7a51379b995c72b69ad32d03ec2b1a9595623a8e4a6595a8135f7327af204bcaf8aad35242682d428a80
7
+ data.tar.gz: 8f4a1603db5105657cfec7e54172be70d2a3af7000ec1f8645cb6c94c105ee83305ad0c7d2cb95ae7f723f5ee98c0d105d1f83c0a6ab0e53d87473fb1761dced
@@ -70,7 +70,7 @@ module Sidekiq
70
70
  Sidekiq.redis do |conn|
71
71
  conn.pipelined do
72
72
  inprogress.each do |unit_of_work|
73
- conn.rpush("#{unit_of_work.queue}", unit_of_work.message)
73
+ conn.lpush("#{unit_of_work.queue}", unit_of_work.message)
74
74
  conn.lrem("#{unit_of_work.queue}:#{WORKING_QUEUE}", 1, unit_of_work.message)
75
75
  end
76
76
  end
@@ -97,7 +97,7 @@ module Sidekiq
97
97
  def requeue
98
98
  Sidekiq.redis do |conn|
99
99
  conn.pipelined do
100
- conn.rpush(queue, message)
100
+ conn.lpush(queue, message)
101
101
  conn.lrem("#{queue}:#{WORKING_QUEUE}", 1, message)
102
102
  end
103
103
  end
@@ -131,7 +131,7 @@ module Sidekiq
131
131
 
132
132
  Sidekiq.logger.info "Requeued a dead job from #{queue}:#{WORKING_QUEUE}"
133
133
 
134
- conn.rpush("#{queue}", job)
134
+ conn.lpush("#{queue}", job)
135
135
  conn.lrem("#{queue}:#{WORKING_QUEUE}", 1, job)
136
136
  end
137
137
  end
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'sidekiq-reliable-fetch'
3
- s.version = '0.2.2'
3
+ s.version = '0.2.3'
4
4
  s.authors = ['TEA']
5
5
  s.email = 'technique@tea-ebook.com'
6
6
  s.license = 'LGPL-3.0'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sidekiq-reliable-fetch
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - TEA
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-06-02 00:00:00.000000000 Z
11
+ date: 2016-07-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sidekiq