org.jooby.spi.server.conf Maven / Gradle / Ivy
# netty defaults
server.module = org.jooby.netty.Netty
server.http2.cleartext = true
netty {
http {
MaxInitialLineLength = 4k
MaxHeaderSize = ${server.http.HeaderSize}
MaxChunkSize = 16k
MaxContentLength = ${server.http.MaxRequestSize}
IdleTimeout = ${server.http.IdleTimeout}
}
threads {
Min = ${server.threads.Min}
Max = ${server.threads.Max}
Name = netty task
Boss = 1
Worker = ${runtime.processors-x2}
}
options {
SO_REUSEADDR = true
}
worker {
options {
SO_REUSEADDR = true
}
}
}