marklogic-community / marklogic-state-conductor

An event-based state-machine engine for manipulating MarkLogic database documents.
Other
1 stars 4 forks source link

Driver should scale it's core thread pool size in addition to it's maximum pool size #181

Closed aclavio closed 3 years ago

aclavio commented 3 years ago

When using a "Threads per Host" the state conductor driver currently only scales out the maximum size of its thread pool. However as it's using an unbounded queue, this doesn't result in more threads being utilized. The driver should also scale out the core thread pool to force it to utilize the full Threads per Host setting.