Skip to content

Commit 6e974b6

Browse files
Add some new processor-related variables to default configuration.
1 parent 75e4551 commit 6e974b6

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

jooby/src/main/java/org/jooby/Jooby.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3087,6 +3087,8 @@ private Config defaultConfig(final Config conf, final String cpath) {
30873087
.withValue("runtime.processors-plus1", ConfigValueFactory.fromAnyRef(processors + 1))
30883088
.withValue("runtime.processors-plus2", ConfigValueFactory.fromAnyRef(processors + 2))
30893089
.withValue("runtime.processors-x2", ConfigValueFactory.fromAnyRef(processors * 2))
3090+
.withValue("runtime.processors-x4", ConfigValueFactory.fromAnyRef(processors * 4))
3091+
.withValue("runtime.processors-x8", ConfigValueFactory.fromAnyRef(processors * 8))
30903092
.withValue("runtime.concurrencyLevel", ConfigValueFactory
30913093
.fromAnyRef(Math.max(4, processors)));
30923094

0 commit comments

Comments
 (0)