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.
- data/bin/rabbitmq-cluster +11 -3
- data/lib/rabbitmq/cluster/version.rb +1 -1
- metadata +3 -3
data/bin/rabbitmq-cluster
CHANGED
@@ -2,7 +2,15 @@ require 'rabbitmq/cluster'
|
|
2
2
|
|
3
3
|
server = RabbitMQ::Cluster::Server.build
|
4
4
|
|
5
|
-
|
6
|
-
|
7
|
-
|
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
|
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.
|
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:
|
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:
|
160
|
+
hash: 3460119520950852451
|
161
161
|
requirements: []
|
162
162
|
rubyforge_project:
|
163
163
|
rubygems_version: 1.8.25
|