You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by cp...@apache.org on 2020/06/23 15:35:34 UTC
[lucene-solr] 01/02: Revert "SOLR-14702: increase bin/solr's post
kill sleep (from 1s to 10s)"
This is an automated email from the ASF dual-hosted git repository.
cpoerschke pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git
commit b4b641ea44e0c8595aa03ed6fa473a1c1b16bfd9
Author: Christine Poerschke <cp...@apache.org>
AuthorDate: Tue Jun 23 16:34:06 2020 +0100
Revert "SOLR-14702: increase bin/solr's post kill sleep (from 1s to 10s)"
This reverts commit 6b55d79bf37bcc92d08cef0c5c537ff95f9088f8.
---
solr/bin/solr | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/solr/bin/solr b/solr/bin/solr
index 83d247c..1bbe3b3 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 ' '`