fix issue with forkjoin (#1245)
This commit is contained in:
parent
aba2785428
commit
276a757d77
1 changed files with 1 additions and 1 deletions
|
|
@ -118,7 +118,7 @@ class ForkJoinExecutorConfigurator(config: Config, prerequisites: DispatcherPrer
|
|||
|
||||
def createExecutorService: ExecutorService = pekkoJdk9ForkJoinPoolHandleOpt match {
|
||||
case Some(handle) =>
|
||||
handle.invokeExact(parallelism, threadFactory, maxPoolSize,
|
||||
handle.invoke(parallelism, threadFactory, maxPoolSize,
|
||||
MonitorableThreadFactory.doNothing, asyncMode).asInstanceOf[ExecutorService]
|
||||
case _ =>
|
||||
new PekkoForkJoinPool(parallelism, threadFactory, MonitorableThreadFactory.doNothing, asyncMode)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue