james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From btell...@apache.org
Subject [14/14] james-project git commit: JAMES-2290 executor service parallelism benefits from using WorkStealingPool
Date Fri, 19 Jan 2018 12:07:28 GMT
JAMES-2290 executor service parallelism benefits from using WorkStealingPool


Project: http://git-wip-us.apache.org/repos/asf/james-project/repo
Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/cba5a2f6
Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/cba5a2f6
Diff: http://git-wip-us.apache.org/repos/asf/james-project/diff/cba5a2f6

Branch: refs/heads/master
Commit: cba5a2f657b79b09ec45fcdd0fe31abe10895160
Parents: 0a2a734
Author: Matthieu Baechler <matthieu@apache.org>
Authored: Wed Jan 17 17:05:02 2018 +0100
Committer: benwa <btellier@linagora.com>
Committed: Fri Jan 19 18:57:58 2018 +0700

----------------------------------------------------------------------
 .../src/main/java/org/apache/james/junit/ExecutorExtension.java    | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/james-project/blob/cba5a2f6/server/testing/src/main/java/org/apache/james/junit/ExecutorExtension.java
----------------------------------------------------------------------
diff --git a/server/testing/src/main/java/org/apache/james/junit/ExecutorExtension.java b/server/testing/src/main/java/org/apache/james/junit/ExecutorExtension.java
index eb81b17..c9b9545 100644
--- a/server/testing/src/main/java/org/apache/james/junit/ExecutorExtension.java
+++ b/server/testing/src/main/java/org/apache/james/junit/ExecutorExtension.java
@@ -35,7 +35,7 @@ public class ExecutorExtension implements ParameterResolver, BeforeEachCallback,
 
     @Override
     public void beforeEach(ExtensionContext context) throws Exception {
-        executorService = Executors.newCachedThreadPool();
+        executorService = Executors.newWorkStealingPool();
     }
 
     @Override


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message