ruby_rabbitmq_janus 3.0.0.pre.364 → 3.0.0.pre.366

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
  SHA256:
3
- metadata.gz: 7c74457de633e88b2adf434388d25891c36c054e1971ac3db811c2775aaf3eb6
4
- data.tar.gz: fa3ac97940e279b12eb37709036ae458dc1bb2462b368f0101d9598d0619e99f
3
+ metadata.gz: 83b84d69f38b85260b7a3dfaab6e20582ebe1677de611a1fdaa9dad0524d69a6
4
+ data.tar.gz: f8792bdb6808853b7861f5b45b28503471a80ea85fc1b48c125c7dbf6233dee0
5
5
  SHA512:
6
- metadata.gz: 0636b53b95fe1368338e830a45cc160d8c0f4a2313326cce2db6caa1ce7cee1fa1159d0a6066783a48e16b650c756dcb1fe25ef0e3a4be3957e1bd9db1e9d802
7
- data.tar.gz: 50ed1a722a64f7a7c8dbac60fd2440b335e25b34a6ffaf30a9f09ce5a62cf0305c9ab25fcd85007ab69e153067750953ae7e0699bc0dace10616cdbf2f094844
6
+ metadata.gz: bb76a82bcdb166ed7cece2ac83f8d3c35c662ea3ae1470e871af24170c0c49b0e63d15a6e847c8b2ad53c780dd9d88246a0b8cf455e94c8ad7f5ad5719eeff92
7
+ data.tar.gz: 7e1d00d5a99043e9e5dc8efcc82ce61fa4d5320cdcc4191d332c79c81818e974d9defb789c702a2d2ca752b0d429e5910a699775c4fb4e92b09e2a47247a528a
@@ -36,7 +36,7 @@ module RubyRabbitmqJanus
36
36
  end
37
37
 
38
38
  def opts_subs
39
- { block: false, manual_ack: true, arguments: { 'x-priority': 2 } }
39
+ { block: false, manual_ack: false, arguments: { 'x-priority': 2 } }
40
40
  end
41
41
 
42
42
  def info_subscribe(info, _prop, payload)
@@ -56,14 +56,13 @@ module RubyRabbitmqJanus
56
56
  rabbit.prefetch(1)
57
57
  reply.bind(binding).subscribe(opts_subs) do |info, prop, payload|
58
58
  info_subscribe(info, prop, payload)
59
- synchronize_response(info, payload)
59
+ synchronize_response(payload)
60
60
  end
61
61
  end
62
62
 
63
- def synchronize_response(info, payload)
63
+ def synchronize_response(payload)
64
64
  lock.synchronize do
65
65
  response = response_class(payload)
66
- rabbit.acknowledge(info.delivery_tag, false)
67
66
  responses.push(response)
68
67
  end
69
68
  semaphore.signal
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ruby_rabbitmq_janus
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.0.pre.364
4
+ version: 3.0.0.pre.366
5
5
  platform: ruby
6
6
  authors:
7
7
  - VAILLANT Jeremy