fanforce-workers 0.4.3 → 0.4.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NjQwYWI5MDU4MzFkNTNmYWMwMTIyZTMzNzEwMzM4ZTAyN2U4MDEzMw==
4
+ OGE1MTc2NTljNzU0M2Y3ZWY5Y2VmNmJiOTVmMmYyNWY3YWYxNTI1OA==
5
5
  data.tar.gz: !binary |-
6
- OTE2MTFmZTE4YTZkMTM3M2Y3N2Y3MDgwNGFmOWNmOWJiMGVjNGYyMQ==
6
+ YzZiMTk5Y2E1YmUxMzA1ODkyNjI3ZTQzZTIzZTQxNjgwODg4MGNlOQ==
7
7
  !binary "U0hBNTEy":
8
8
  metadata.gz: !binary |-
9
- NTAzMTIzZjEzMzFjZWEzNGU5MWU5NWY0NmJlNGQxNTI3ZTRkOGZhZWYyMGU3
10
- ZDliOTFhZWI0MzU1MjBlYWRlODRkMjNlZTlkNjg1MjM2M2Q5NTFiNmFjYWI2
11
- MmU2YzkzMDYzY2I3Y2JiYmJhM2E0YTA1OWEwN2U2MzI3ZDIyOWY=
9
+ ZjE0NTM1NjliY2MzMWEwNzhiYmI1NzYyNDI0NzJiNzY1MDczYzM5ODA4NzZj
10
+ NWE1MDdiMmNiOWI2OGNlYWQ2ZTI3NmQxMGY1MzIxMTY2N2FkNzk4ZGVhNDdl
11
+ MTYyNzlmM2VlMjhjNDgyNTAyMDdiYzU2YjgyMTU0NDM0NmUxZmM=
12
12
  data.tar.gz: !binary |-
13
- MDRlNzI0MWU4OWI3NWE2N2VhMTgwODBlYmU3YjY5NWNmZWRkNGVkZGQ0M2Rm
14
- MTM5NjcwZmM3YWY1MjVmZDBkYWUwOWIwZWNlYTViMjZiYWI4MTJhMDc3YTQw
15
- OTgxY2RlNjhlN2NhZDUzMTIyZTEwZDNkNTA4MjI1ZWY4YTVkN2E=
13
+ YjhhOWQyZTdhZGI3MmY1YzJjNjAyMzZmODMyMWE1MDllNTc1Y2M1Mjg2Mjlk
14
+ YzhmZTk1OGQ4Y2M5NjA0NDMxODY5NGUzNjI4MmE2MDY4ZDVkZDc4MTdmMWE1
15
+ Y2MyZTQwM2Q4NzAzMmE3Mzg0N2JiYzM0OTE3NGJiYzA4ZDUwODg=
@@ -1,5 +1,5 @@
1
1
  class Fanforce
2
2
  class Workers
3
- VERSION = '0.4.3'
3
+ VERSION = '0.4.4'
4
4
  end
5
5
  end
@@ -21,9 +21,9 @@ class Fanforce::Workers
21
21
  end
22
22
 
23
23
  def retry_error(queue_id, msg_id)
24
- msg = iron.client.queue(queue_id + '-ERRORS').get(msg_id)
24
+ msg = iron.client.queue(queue_id + '-ERRORS').peek(msg_id)
25
25
  data = MultiJson.load(msg.body, :symbolize_keys => true)
26
- iron.enqueue queue_id, params: data[:params], retries: data[:params] + 1
26
+ iron.enqueue queue_id, params: data[:params], retries: data[:retries] + 1
27
27
  msg.delete
28
28
  end
29
29
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fanforce-workers
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.3
4
+ version: 0.4.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Caleb Clark