coney_island 0.7.4 → 0.7.5

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
  SHA1:
3
- metadata.gz: e6182913cdb3760fde708e50c76eedd1de1a42fc
4
- data.tar.gz: d437eff58721ce25e20ffef03850137e49ecf883
3
+ metadata.gz: f039e0c6dcd7965fd53e9563264440a0f2cfbd51
4
+ data.tar.gz: 2769bb8e3e684f0b0d3b5b0cce0fb2033dd1c116
5
5
  SHA512:
6
- metadata.gz: 0bb8b3e45828a0cd2a4fa3cf6c84bf85123e51cb2b64fd6f8d214563bd31e3e79779de1aa215fe971d35a275145a9ea5aeb13d7626726ae45b4633bc346aa719
7
- data.tar.gz: 70ca59e405de04e437a193e95f763acbb85c22c6945719e88a082151cbf6b31534887360dbcbb06b71756eca15579250b37cee24cb9316029123a274a9530131
6
+ metadata.gz: b89c9a90de86274b2c006e95827de7e7c1909e02a5fae9620b2895d98bcdc69b0b8ce595dc3dd74acd5d1793e0f7a12cad28f92b41c7fb0c9b8c3bc26434ee94
7
+ data.tar.gz: 2cbb3dc9b4dba357951481935a13921c4b3e68d5c6b8d853f8a68140e023734996b0eccb832a45a52358f71097e95f80a8039483615e4be9b86c419f19633268
@@ -1,3 +1,3 @@
1
1
  module ConeyIsland
2
- VERSION = "0.7.4"
2
+ VERSION = "0.7.5"
3
3
  end
@@ -89,6 +89,10 @@ module ConeyIsland
89
89
  end
90
90
 
91
91
  AMQP.connect(self.amqp_parameters) do |connection|
92
+ connection.on_tcp_connection_loss do |connection, settings|
93
+ # reconnect in 10 seconds, without enforcement
94
+ connection.reconnect(false, 10)
95
+ end
92
96
  self.log.info("Connected to AMQP broker. Running #{AMQP::VERSION}")
93
97
  @channel = AMQP::Channel.new(connection)
94
98
  @exchange = @channel.topic('coney_island')
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: coney_island
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.4
4
+ version: 0.7.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eric Draut