commit: 1b436d3f55805bd0e7ae7f19eb5e87c08bd6d36c
Author: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
AuthorDate: Tue Feb 24 02:53:49 2015 +0000
Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org>
CommitDate: Tue Feb 24 02:53:49 2015 +0000
URL: http://sources.gentoo.org/gitweb/?p=proj/ag.git;a=commit;h=1b436d3f
This is hard to make it trip up sometimes.
Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org>
---
lib/storage.rb | 2 --
1 file changed, 2 deletions(-)
diff --git a/lib/storage.rb b/lib/storage.rb
index fa1fa51..84e1f8f 100644
--- a/lib/storage.rb
+++ b/lib/storage.rb
@@ -88,10 +88,8 @@ module Ag::Storage
})
# Give elasticsearch some time to process the new index
- puts $es.cluster.health
puts $es.indices.status(index: indexname)
while $es.cluster.health['status'] != 'green' do
- puts $es.cluster.health
puts $es.indices.status(index: indexname)
sleep 0.05
end