LebronAl opened a new pull request #2363:
URL: https://github.com/apache/iotdb/pull/2363


   We will encounter a exception when starting cluster server if cpu.cores > 
100, so we should change the parameters for ThreadPoolExecutor. As 
serialToParallelPool will only do heartbeat or add/remove node, I think the 
coreSize can be 'allNode.size()', and the maxSize can be set to 
`Math.max(allNodes.size(), Runtime.getRuntime().availableProcessors())`.


----------------------------------------------------------------
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.

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


Reply via email to