rabbitmq-cluster 0.0.14 → 0.0.15

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,7 +2,15 @@ require 'rabbitmq/cluster'
2
2
 
3
3
  server = RabbitMQ::Cluster::Server.build
4
4
 
5
- while true do
6
- server.synchronize
7
- sleep 10
5
+ until server.up?
6
+ while true do
7
+ begin
8
+ server.synchronize
9
+ rescue e
10
+ puts e.message
11
+ puts e.backtrace
12
+ end
13
+ sleep 5
14
+ end
15
+ sleep 1
8
16
  end
@@ -1,5 +1,5 @@
1
1
  module RabbitMQ
2
2
  class Cluster
3
- VERSION = "0.0.14"
3
+ VERSION = "0.0.15"
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.14
4
+ version: 0.0.15
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -148,7 +148,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
148
148
  version: '0'
149
149
  segments:
150
150
  - 0
151
- hash: -99154985774826741
151
+ hash: 3460119520950852451
152
152
  required_rubygems_version: !ruby/object:Gem::Requirement
153
153
  none: false
154
154
  requirements:
@@ -157,7 +157,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
157
157
  version: '0'
158
158
  segments:
159
159
  - 0
160
- hash: -99154985774826741
160
+ hash: 3460119520950852451
161
161
  requirements: []
162
162
  rubyforge_project:
163
163
  rubygems_version: 1.8.25