This is an automated email from the ASF dual-hosted git repository. ishan pushed a commit to branch jira/solr-13350-fixes-9x in repository https://gitbox.apache.org/repos/asf/solr.git
commit 8299cf3f9a6763d1d728651ad3f2e53fa696a346 Author: Ishan Chattopadhyaya <[email protected]> AuthorDate: Wed Jun 26 03:05:09 2024 +0530 SOLR-13350: Removing the solr script nproc setting of searcher threads --- solr/bin/solr | 3 --- 1 file changed, 3 deletions(-) diff --git a/solr/bin/solr b/solr/bin/solr index 93c6741c346..698d996c0df 100755 --- a/solr/bin/solr +++ b/solr/bin/solr @@ -1917,9 +1917,6 @@ if [ $# -gt 0 ]; then done fi -# Setting number of threads for search -if ! command -v nproc &> /dev/null; then echo "Couldn't determine number of CPUs, using default number of search threads"; else cpus=`nproc`; SCRIPT_SOLR_OPTS+="-Dsolr.searchThreads=$cpus"; fi - # Default placement plugin if [[ -n "${SOLR_PLACEMENTPLUGIN_DEFAULT:-}" ]] ; then SCRIPT_SOLR_OPTS+=("-Dsolr.placementplugin.default=$SOLR_PLACEMENTPLUGIN_DEFAULT")
