risdenk opened a new pull request, #895:
URL: https://github.com/apache/lucene/pull/895

   # Description
   
   ConcurrentMergeScheduler tries to calculate number of max threads. This is 
artificially low and capped at 4 due to the logic in the calculation.
   
   # Solution
   
   This updates the logic to `Math.max(4, coreCount / 2)` which sets a minimum 
to 4 threads (the previous lower limit) and max of `coreCount / 2`.
   
   # Tests
   
   No new tests were added.
   
   # Checklist
   
   Please review the following and check all that apply:
   
   - [ ] I have reviewed the guidelines for [How to 
Contribute](https://github.com/apache/lucene/blob/main/CONTRIBUTING.md) and my 
code conforms to the standards described there to the best of my ability.
   - [ ] I have given Lucene maintainers 
[access](https://help.github.com/en/articles/allowing-changes-to-a-pull-request-branch-created-from-a-fork)
 to contribute to my PR branch. (optional but recommended)
   - [ ] I have developed this patch against the `main` branch.
   - [ ] I have run `./gradlew check`.
   - [ ] I have added tests for my changes.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to