mirror of https://github.com/apache/lucene.git
SOLR-14502: increase bin/solr's post kill sleep (from 1s to 10s)
This commit is contained in:
parent
b4b641ea44
commit
710fe3a107
|
@ -874,7 +874,7 @@ function stop_solr() {
|
||||||
kill -9 $SOLR_PID
|
kill -9 $SOLR_PID
|
||||||
echo "Killed process $SOLR_PID"
|
echo "Killed process $SOLR_PID"
|
||||||
rm -f "$SOLR_PID_DIR/solr-$SOLR_PORT.pid"
|
rm -f "$SOLR_PID_DIR/solr-$SOLR_PORT.pid"
|
||||||
sleep 1
|
sleep 10
|
||||||
fi
|
fi
|
||||||
|
|
||||||
CHECK_PID=`ps auxww | awk '{print $2}' | grep -w $SOLR_PID | sort -r | tr -d ' '`
|
CHECK_PID=`ps auxww | awk '{print $2}' | grep -w $SOLR_PID | sort -r | tr -d ' '`
|
||||||
|
|
Loading…
Reference in New Issue