We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 005f716 commit 344446cCopy full SHA for 344446c
1 file changed
jooby-executor/src/test/java/org/jooby/exec/ExecTest.java
@@ -201,7 +201,7 @@ public void scheduled1() throws Exception {
201
202
@Test
203
public void forkJoin() throws Exception {
204
- int n = 8;
+ int n = Runtime.getRuntime().availableProcessors();
205
Config conf = ConfigFactory.empty()
206
.withValue("executors", ConfigValueFactory.fromAnyRef("forkjoin, asyncMode"));
207
new MockUnit(Env.class, Binder.class)
0 commit comments