We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 047daac commit 765fbf2Copy full SHA for 765fbf2
rake_tasks/elasticsearch_tasks.rake
@@ -19,6 +19,7 @@ namespace :elasticsearch do
19
puts "Attempting to wait for green status: #{i + 1}"
20
if admin_client.cluster.health(wait_for_status: 'green', timeout: '50s')
21
ready = true
22
+ puts 'Connected to Elasticsearch'
23
break
24
end
25
rescue Elasticsearch::Transport::Transport::Errors::RequestTimeout => ex
0 commit comments