sensu-transport 0.0.4 → 0.0.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/sensu/transport/rabbitmq.rb +3 -3
- data/sensu-transport.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 25757d5c1a633408ef5394569b898aa68dd87ea8
|
4
|
+
data.tar.gz: 307d4db59e6d57f3dbf74cc4b44c020322821f02
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e7364481b3b576241e4bbd2f0078e1511dc83ab29ed630defbabc3239c1a282ca10bd4cf159a019b96ec3b161e0fe00980ad23f77db451f37850c1268d4b7cc1
|
7
|
+
data.tar.gz: 037e972322a334c8395cdc24f1174f936043c85e2b14567969e2eded9e9e6beebff2b2cac9c4367ab978bd33e29fc1e255df15eecda99d65f107ac0779efd73a
|
@@ -25,6 +25,9 @@ module Sensu
|
|
25
25
|
reconnect_callback = Proc.new { reconnect }
|
26
26
|
@connection.on_tcp_connection_loss(&reconnect_callback)
|
27
27
|
@connection.on_skipped_heartbeats(&reconnect_callback)
|
28
|
+
@connection.on_recovery do
|
29
|
+
@after_reconnect.call
|
30
|
+
end
|
28
31
|
setup_channel(options)
|
29
32
|
end
|
30
33
|
|
@@ -125,9 +128,6 @@ module Sensu
|
|
125
128
|
prefetch = options.fetch(:prefetch, 1)
|
126
129
|
end
|
127
130
|
@channel.prefetch(prefetch)
|
128
|
-
@channel.on_recovery do
|
129
|
-
@after_reconnect.call
|
130
|
-
end
|
131
131
|
end
|
132
132
|
end
|
133
133
|
end
|
data/sensu-transport.gemspec
CHANGED