GitHub user bgutjahr opened a pull request:
https://github.com/apache/activemq-artemis/pull/488
New thread pool for client threads
- Added a thread pool executor, that combines cached and fixed size thread
pooling.
It behaves like a cached thread pool in that it reuses exising threads
and removes
idle threads after a timeout, limits the maximum number of threads in the
pool, but
queues additional request instead of rejecting them.
- changed existing code to use the new thread pool instead of a fixed-size
thread pool in
all places that are configured with a client thread pool size.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/bgutjahr/activemq-artemis new-thread-pool
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/activemq-artemis/pull/488.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #488
----
commit e1fd6a3dd7d54b2d22cbd5f6afe1acdd5e58838f
Author: Bernd Gutjahr <[email protected]>
Date: 2016-04-25T13:30:42Z
New thread pool for client threads
- Added a thread pool executor, that combines cached and fixed size thread
pooling.
It behaves like a cached thread pool in that it reuses exising threads
and removes
idle threads after a timeout, limits the maximum number of threads in the
pool, but
queue additional request instead of rejecting them.
- changed existing code to use the new thread pool instead of a fixed-size
thread pool in
all places that are configured with a client thread pool size.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---