bbk-amqp 1.0.0.105731 → 1.0.0.105775
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/bbk/amqp/utils.rb +2 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4c2ee59533f46be2cedd40258298ffd91acab3ab431e4b856233c16970fc370d
|
4
|
+
data.tar.gz: f46345b907507f2cdf3ecdde858c591dceeb6e723a96f13492b7c0fa9222a8a9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d7d408f8c6e3d657878edc34fbe06a6b739cca8f63457256e35b7ba9c4456ab101bedd425546b8161d3c1626e5e078820b630140e219bfdf06426bf274fa75a8
|
7
|
+
data.tar.gz: 2d42e9502fa612b94ddcf797757b53081952a652fab266e138021e43ab675fb21497aeb299f82492feb7e87d915d3082b03a0dd666dd433aa55ba0f18eb2171c
|
data/Gemfile.lock
CHANGED
data/lib/bbk/amqp/utils.rb
CHANGED
@@ -22,6 +22,7 @@ module BBK
|
|
22
22
|
mx.synchronize do
|
23
23
|
if consumed
|
24
24
|
queue.channel.nack(delivery_info.delivery_tag, false, true)
|
25
|
+
sleep 0.1
|
25
26
|
break
|
26
27
|
end
|
27
28
|
consumed = true
|
@@ -47,6 +48,7 @@ module BBK
|
|
47
48
|
raise ::Timeout::Error
|
48
49
|
end
|
49
50
|
queue.channel.ack(result[0].delivery_tag)
|
51
|
+
sleep 0.1
|
50
52
|
consumer.cancel
|
51
53
|
result
|
52
54
|
end
|