rabbitek 0.3.3 → 0.3.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/Gemfile.lock +2 -2
- data/lib/rabbitek/server/hooks/retry.rb +7 -1
- data/lib/rabbitek/version.rb +1 -1
- 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: 0ebd3dc67f3b12e2d57e8fce9b1164b8b652648698d0384c8b5817a07309f6f5
|
4
|
+
data.tar.gz: 4342ee862ae79fa60d0f343fc579c7d43cd0604ab429473aa61ec8f2e61d8931
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2d8a600f3c03c8b63d504d6ebb5b7087940e1fe7a75eb2acfd731ea9f3182a5a09d16e7f3c7dd79c331b4737cad2cbafa2e2900d576aa8afb0bf3e663b0a1d62
|
7
|
+
data.tar.gz: 26e7c61bbb9f12914ba9eb51c6e2a726a0c4ec849158e09ca721fdafe3ff6efa38e70e11a1d7ac0de6c3cd212f6b4320325feb12af72b192b7dd6fabcb24d78a
|
data/CHANGELOG.md
CHANGED
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
rabbitek (0.3.
|
4
|
+
rabbitek (0.3.4)
|
5
5
|
activesupport (> 3.0)
|
6
6
|
bunny (~> 2.11.0)
|
7
7
|
oj (~> 3.6)
|
@@ -83,7 +83,7 @@ GEM
|
|
83
83
|
nio4r (2.5.2)
|
84
84
|
nokogiri (1.10.7)
|
85
85
|
mini_portile2 (~> 2.4.0)
|
86
|
-
oj (3.10.
|
86
|
+
oj (3.10.1)
|
87
87
|
opentracing (0.5.0)
|
88
88
|
parallel (1.12.1)
|
89
89
|
parser (2.5.1.2)
|
@@ -22,7 +22,13 @@ module Rabbitek
|
|
22
22
|
def retry_message(consumer, message)
|
23
23
|
Retryer.call(consumer, message)
|
24
24
|
rescue StandardError => e
|
25
|
-
error(
|
25
|
+
error(
|
26
|
+
message: 'Critical error while retrying. Nacking and requeueing message',
|
27
|
+
consumer: message.delivery_info.routing_key,
|
28
|
+
jid: consumer.jid,
|
29
|
+
error: e.to_s
|
30
|
+
)
|
31
|
+
|
26
32
|
consumer.nack!(message.delivery_info)
|
27
33
|
end
|
28
34
|
end
|
data/lib/rabbitek/version.rb
CHANGED