Skip to content

Commit faddf43

Browse files
committed
solr8 WIP print the solr ping response to screen on failure after a long timeout
1 parent 5b993c4 commit faddf43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/tasks/dcv/docker.rake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ namespace :dcv do
1313
def wait_for_solr_cores_to_load
1414
solr_id = `docker compose -f #{Rails.root.join(docker_compose_file_path)} ps -q solr`
1515

16-
Timeout.timeout(20, Timeout::Error, 'Timed out during solr startup check.') do
16+
Timeout.timeout(120, Timeout::Error, 'Timed out during solr startup check.') do
1717
loop do
1818
sleep 0.25
1919
status = `docker inspect --format "{{.State.Health.Status}}" #{solr_id}`.strip

0 commit comments

Comments
 (0)