All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jooby.spi.server.conf Maven / Gradle / Ivy

There is a newer version: 1.6.9
Show newest version
# 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
    }
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy