bbk-amqp 1.0.0.105723 → 1.0.0.105731
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 +5 -2
- 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: 395701e78328d529b984fe2836575d4316da174c424db8a34a536d49e65e969e
|
4
|
+
data.tar.gz: 3dfa96c9ff17d85d42b937c244a03cce0576ccb78870a1fcc78cc9574132bd67
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7e9f0158659ad1a74276007c335f45ed9c0e914888e61c7b40674b2842b22da649c6d360a50c909a49c45ce578f0d5f27f6abce6941edf8ab84db5a3568ff4a8
|
7
|
+
data.tar.gz: 7d73afde4090357e76f85573864dbcd2b8d68953e5348a620eed5021822eb5bcb9cdebb92309af57a969ede68f1083d7dfe4167fd3dcf262ff13040a3eca3185
|
data/Gemfile.lock
CHANGED
data/lib/bbk/amqp/utils.rb
CHANGED
@@ -42,9 +42,12 @@ module BBK
|
|
42
42
|
unblocker << :timeout
|
43
43
|
end
|
44
44
|
result = unblocker.pop
|
45
|
-
|
46
|
-
|
45
|
+
if result == :timeout
|
46
|
+
consumer.cancel
|
47
|
+
raise ::Timeout::Error
|
48
|
+
end
|
47
49
|
queue.channel.ack(result[0].delivery_tag)
|
50
|
+
consumer.cancel
|
48
51
|
result
|
49
52
|
end
|
50
53
|
|