commit: 85ae5841baf289f178cfb573a6920a080b6cdb55 Author: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org> AuthorDate: Tue Feb 24 02:59:14 2015 +0000 Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org> CommitDate: Tue Feb 24 02:59:14 2015 +0000 URL: http://sources.gentoo.org/gitweb/?p=proj/ag.git;a=commit;h=85ae5841
Fun to trigger race bugs. Signed-off-by: Robin H. Johnson <robbat2 <AT> gentoo.org> --- lib/storage.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)