You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by GitBox <gi...@apache.org> on 2019/03/31 08:25:08 UTC
[GitHub] [servicecomb-java-chassis] wujimin opened a new pull request #1161:
[SCB-1232] make GroupExecutor configuration compatible to old version
wujimin opened a new pull request #1161: [SCB-1232] make GroupExecutor configuration compatible to old version
URL: https://github.com/apache/servicecomb-java-chassis/pull/1161
expect to work like tomcat thread pool
but jdk standard thread pool's behavior is different:
```
JDK standard thread pool rules:
1.use core threads.
2.if all core threads are busy, then queue the request.
3.if queue is full, then create new thread util reach the limit of max threads.
4.if queue is full, and threads count is max, then reject the request.
```
to do what we want, need to lock the executor several times for one task, that's too bad
so only make compatible to old version temporary
----------------------------------------------------------------
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:
users@infra.apache.org
With regards,
Apache Git Services