diff options
author | 2015-02-23 18:59:14 -0800 | |
---|---|---|
committer | 2015-02-23 18:59:14 -0800 | |
commit | 85ae5841baf289f178cfb573a6920a080b6cdb55 (patch) | |
tree | f2eee23e6558622bc1e5cb37a47153bae15286af | |
parent | missing dep. (diff) | |
download | backend-85ae5841baf289f178cfb573a6920a080b6cdb55.tar.gz backend-85ae5841baf289f178cfb573a6920a080b6cdb55.tar.bz2 backend-85ae5841baf289f178cfb573a6920a080b6cdb55.zip |
Fun to trigger race bugs.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
-rw-r--r-- | lib/storage.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/storage.rb b/lib/storage.rb index 66e3ba4..f47c6bc 100644 --- a/lib/storage.rb +++ b/lib/storage.rb @@ -1,5 +1,6 @@ require 'elasticsearch' require 'date' +require 'pp' module Ag::Storage module_function @@ -88,7 +89,6 @@ module Ag::Storage }) # Give elasticsearch some time to process the new index - require 'pp' pp $es.indices.status(index: indexname) while $es.cluster.health['status'] != 'green' do pp $es.indices.status(index: indexname) |