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

This commit is contained in:
Christine Poerschke 2020-06-23 16:14:27 +01:00
parent b4b641ea44
commit 710fe3a107
1 changed files with 1 additions and 1 deletions

View File

@ -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 ' '`