You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pekko.apache.org by fa...@apache.org on 2024/03/31 17:12:50 UTC

(pekko) branch main updated: fix issue with forkjoin (#1245)

This is an automated email from the ASF dual-hosted git repository.

fanningpj pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pekko.git


The following commit(s) were added to refs/heads/main by this push:
     new 276a757d77 fix issue with forkjoin (#1245)
276a757d77 is described below

commit 276a757d7763fbd0b02276d6a632bdf3a0e158fe
Author: PJ Fanning <pj...@users.noreply.github.com>
AuthorDate: Sun Mar 31 19:12:45 2024 +0200

    fix issue with forkjoin (#1245)
---
 .../scala/org/apache/pekko/dispatch/ForkJoinExecutorConfigurator.scala  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/actor/src/main/scala/org/apache/pekko/dispatch/ForkJoinExecutorConfigurator.scala b/actor/src/main/scala/org/apache/pekko/dispatch/ForkJoinExecutorConfigurator.scala
index 71d2ffc750..661dfb8dd7 100644
--- a/actor/src/main/scala/org/apache/pekko/dispatch/ForkJoinExecutorConfigurator.scala
+++ b/actor/src/main/scala/org/apache/pekko/dispatch/ForkJoinExecutorConfigurator.scala
@@ -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)


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pekko.apache.org
For additional commands, e-mail: commits-help@pekko.apache.org