]
Dan Berindei reassigned ISPN-10040:
-----------------------------------
Assignee: Dan Berindei
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: 8.2.11.Final, 10.0.0.Beta2, 9.4.9.Final
Reporter: Dan Berindei
Assignee: Dan Berindei
Priority: Major
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}}.