You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ma...@apache.org on 2020/08/20 03:25:18 UTC

[lucene-solr] branch reference_impl_dev updated: @573 Faster start.

This is an automated email from the ASF dual-hosted git repository.

markrmiller pushed a commit to branch reference_impl_dev
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git


The following commit(s) were added to refs/heads/reference_impl_dev by this push:
     new a31dee5  @573 Faster start.
a31dee5 is described below

commit a31dee57ace4f1c1e9e6980d2ec5cb6a3bfadb51
Author: markrmiller@gmail.com <ma...@gmail.com>
AuthorDate: Wed Aug 19 22:23:33 2020 -0500

    @573 Faster start.
---
 solr/bin/solr | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/solr/bin/solr b/solr/bin/solr
index 25d0c06..f5d3f7d 100755
--- a/solr/bin/solr
+++ b/solr/bin/solr
@@ -2276,9 +2276,9 @@ function start_solr() {
       do
         running=$(lsof -t -PniTCP:$SOLR_PORT -sTCP:LISTEN)
         if [ -z "$running" ]; then
-	  slept=$((loops * 2))
+	  slept=$((loops))
           if [ $slept -lt $SOLR_STOP_WAIT ]; then
-            sleep 2
+            sleep 1
             loops=$[$loops+1]
           else
             echo -e "Still not seeing Solr listening on $SOLR_PORT after $SOLR_STOP_WAIT seconds!"