Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

Revert "SOLR-14702: increase bin/solr's post kill sleep (from 1s to 10s)"

Christine Poerschkeb4b641ea44e0
diff --git a/solr/bin/solr b/solr/bin/solr
index 83d247ccefa..1bbe3b388d8 100755
--- a/solr/bin/solr
+++ b/solr/bin/solr
@@ -874,7 +874,7 @@ function stop_solr() {
kill -9 $SOLR_PID
echo "Killed process $SOLR_PID"
rm -f "$SOLR_PID_DIR/solr-$SOLR_PORT.pid"
- sleep 10
+ sleep 1
fi
CHECK_PID=`ps auxww | awk '{print $2}' | grep -w $SOLR_PID | sort -r | tr -d ' '`