We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e167541 commit c5be01aCopy full SHA for c5be01a
frameworks/Kotlin/http4k/build.gradle
@@ -1,6 +1,6 @@
1
buildscript {
2
ext.kotlin_version = "1.8.10"
3
- ext.http4k_version = "4.37.0.0"
+ ext.http4k_version = "4.39.0.0"
4
5
repositories {
6
mavenCentral()
frameworks/Kotlin/http4k/undertow/src/main/kotlin/Http4kUndertowServer.kt
@@ -13,7 +13,7 @@ private fun CustomUndertow(port: Int) = object : ServerConfig {
13
val server = io.undertow.Undertow.builder()
14
.addHttpListener(port, "0.0.0.0")
15
.setHandler(BlockingHandler(Http4kUndertowHttpHandler(http)))
16
- .setWorkerThreads(32 * Runtime.getRuntime().availableProcessors())
+ .setWorkerThreads(64 * Runtime.getRuntime().availableProcessors())
17
.build()
18
19
override fun start() = apply { server.start() }
0 commit comments