vx-common-amqp 0.3.7 → 0.3.8

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: 5182ae537aa66c05dfb92990efdc8d3040b671d2
4
- data.tar.gz: 42555df2bbf2e55196cfc56ffc6789e6dbfdd372
3
+ metadata.gz: 32303b3fbf5ada052c986abda78a9eb08ce3d72d
4
+ data.tar.gz: 862aaeb54348b2b871de1161328c626abc064852
5
5
  SHA512:
6
- metadata.gz: 5c9f91a731f64a31b30ea4548d814c6b8d8c1db3051709e3309f2980f4ef740ed21d3de71672558326b32352daa29ad7a9ac272c59964f2c3c6a8bbadaeab7b0
7
- data.tar.gz: 67d2f9a5b3e9e76c3ff011a05748aa5860ca6cd336a1d16c8199710b27feeaa5cd566eccf4d1036e69992d93fa5372100a352eaa275cb10e894aba5c23bd1da1
6
+ metadata.gz: 713750b322c01f1188aa034ba5331c85403178e5c3d7951e738f75f519205875f34600c0b4f0349351a13dec0f7d5575d2f73178ad33de602d62cbd43a24214e
7
+ data.tar.gz: 570cdd323bbff407a7df4979bd5d17bc4a6f7cc6b6d01af17fec5d029948cb6b75b8e8cb92f223831fe0571070af8f323e8ddd0e341ceb6befae095d817618fb
@@ -128,11 +128,11 @@ module Vx
128
128
  attempt = 0 if reset_attempt?(task)
129
129
  task.dup.tap do |new_task|
130
130
  new_task.thread = Thread.new(new_task) do |t|
131
+ Thread.current.abort_on_exception = false
131
132
  Thread.current[:vx_amqp_consumer_id] = t.id
132
133
  t.object.send t.method
133
134
  end
134
- new_task.thread.abort_on_exception = false
135
- new_task.attempt = attempt
135
+ new_task.attempt = attempt
136
136
  new_task.start_at = Time.now
137
137
  new_task.freeze
138
138
  instrument("spawn_thread.consumer.ampq", task: new_task.inspect)
@@ -1,7 +1,7 @@
1
1
  module Vx
2
2
  module Common
3
3
  module AMQP
4
- VERSION = "0.3.7"
4
+ VERSION = "0.3.8"
5
5
  end
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vx-common-amqp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.7
4
+ version: 0.3.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dmitry Galinsky
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-02-02 00:00:00.000000000 Z
11
+ date: 2014-02-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bunny