global_uid 1.2.4 → 1.2.5
Sign up to get free protection for your applications and to get access to all the features.
- data/global_uid.gemspec +1 -1
- data/lib/global_uid/base.rb +5 -5
- metadata +1 -1
data/global_uid.gemspec
CHANGED
@@ -13,7 +13,7 @@ Gem::Specification.new do |s|
|
|
13
13
|
## If your rubyforge_project name is different, then edit it and comment out
|
14
14
|
## the sub! line in the Rakefile
|
15
15
|
s.name = 'global_uid'
|
16
|
-
s.version = '1.2.
|
16
|
+
s.version = '1.2.5'
|
17
17
|
s.date = '2012-03-13'
|
18
18
|
s.rubyforge_project = 'global_uid'
|
19
19
|
|
data/lib/global_uid/base.rb
CHANGED
@@ -164,11 +164,11 @@ module GlobalUid
|
|
164
164
|
end
|
165
165
|
end
|
166
166
|
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
167
|
+
# in the case where all servers are gone, put everyone back in.
|
168
|
+
if servers.all? { |info| info[:cx].nil? }
|
169
|
+
servers.each do |info|
|
170
|
+
info[:retry_at] = Time.now - 5.minutes
|
171
|
+
end
|
172
172
|
raise NoServersAvailableException, "Errors hit: #{errors.map(&:to_s).join(',')}"
|
173
173
|
end
|
174
174
|
|