diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-02-23 18:53:49 -0800 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-02-23 18:53:49 -0800 |
commit | 1b436d3f55805bd0e7ae7f19eb5e87c08bd6d36c (patch) | |
tree | b0735ad4ff6f5fd85b248fef94e27f47510f0c28 | |
parent | Improve poll code. (diff) | |
download | backend-1b436d3f55805bd0e7ae7f19eb5e87c08bd6d36c.tar.gz backend-1b436d3f55805bd0e7ae7f19eb5e87c08bd6d36c.tar.bz2 backend-1b436d3f55805bd0e7ae7f19eb5e87c08bd6d36c.zip |
This is hard to make it trip up sometimes.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
-rw-r--r-- | lib/storage.rb | 2 |
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 |