rabbitmq-cluster 0.0.7 → 0.0.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -23,6 +23,11 @@ module RabbitMQ::Cluster
23
23
 
24
24
  def register(node_name)
25
25
  client.set(key_for(node_name), node_name, ttl: 10)
26
+ try = 0
27
+ rescue
28
+ sleep 1
29
+ try += 1
30
+ retry if try < 10
26
31
  end
27
32
 
28
33
  def erlang_cookie
@@ -1,5 +1,5 @@
1
1
  module RabbitMQ
2
2
  module Cluster
3
- VERSION = "0.0.7"
3
+ VERSION = "0.0.8"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rabbitmq-cluster
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.7
4
+ version: 0.0.8
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -144,7 +144,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
144
144
  version: '0'
145
145
  segments:
146
146
  - 0
147
- hash: -4607728886686367057
147
+ hash: -1773046111875940533
148
148
  required_rubygems_version: !ruby/object:Gem::Requirement
149
149
  none: false
150
150
  requirements:
@@ -153,7 +153,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
153
153
  version: '0'
154
154
  segments:
155
155
  - 0
156
- hash: -4607728886686367057
156
+ hash: -1773046111875940533
157
157
  requirements: []
158
158
  rubyforge_project:
159
159
  rubygems_version: 1.8.25