aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-02-23 18:59:14 -0800
committerRobin H. Johnson <robbat2@gentoo.org>2015-02-23 18:59:14 -0800
commit85ae5841baf289f178cfb573a6920a080b6cdb55 (patch)
treef2eee23e6558622bc1e5cb37a47153bae15286af
parentmissing dep. (diff)
downloadbackend-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.rb2
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)