aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/storage.rb')
-rw-r--r--lib/storage.rb2
1 files changed, 0 insertions, 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