Dan Berindei created ISPN-10040:
-----------------------------------
Summary: Embedded and server thread pool defaults should be the same
Key: ISPN-10040
URL:
https://issues.jboss.org/browse/ISPN-10040
Project: Infinispan
Issue Type: Bug
Components: Configuration
Affects Versions: 9.4.9.Final, 10.0.0.Beta2, 8.2.11.Final
Reporter: Dan Berindei
Fix For: 10.0.0.Beta3, 9.4.10.Final
Embedded:
{code:java}
DEFAULT_THREAD_COUNT.put(REMOTE_COMMAND_EXECUTOR, 200);
DEFAULT_QUEUE_SIZE.put(REMOTE_COMMAND_EXECUTOR, 0);
{code}
Server:
{code:java}
REMOTE_COMMAND("remote-command", 25, 25, 100000, 60000),
{code}
Using a huge queue is not ok for the remote thread pool, but I missed it before because I
assumed the server was using the {{KnownComponentNames}} defaults. We should unify the
thread pool defaults in another class with a more topical name and remove
{{KnownComponentNames}}.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)