diff --git a/src/main/docs/guide/httpServer/serverConfiguration/threadPools.adoc b/src/main/docs/guide/httpServer/serverConfiguration/threadPools.adoc index 2740d3f824b..fb9aaee4b0c 100644 --- a/src/main/docs/guide/httpServer/serverConfiguration/threadPools.adoc +++ b/src/main/docs/guide/httpServer/serverConfiguration/threadPools.adoc @@ -29,19 +29,3 @@ NOTE: The default value for the number of threads is the value of the system pro See the following table for configuring event loops: include::{includedir}configurationProperties/io.micronaut.http.netty.channel.DefaultEventLoopGroupConfiguration.adoc[] - -==== Blocking Operations - -When dealing with blocking operations, Micronaut shifts the blocking operations to an unbound, caching I/O thread pool by default. You can configure the I/O thread pool using the api:scheduling.executor.ExecutorConfiguration[] named `io`. For example: - -.Configuring the Server I/O Thread Pool -[source,yaml] ----- -micronaut: - executors: - io: - type: fixed - nThreads: 75 ----- - -The above configuration creates a fixed thread pool with 75 threads. diff --git a/src/main/docs/guide/httpServer/serverConfiguration/threadPools/blockingOperations.adoc b/src/main/docs/guide/httpServer/serverConfiguration/threadPools/blockingOperations.adoc new file mode 100644 index 00000000000..903c5608200 --- /dev/null +++ b/src/main/docs/guide/httpServer/serverConfiguration/threadPools/blockingOperations.adoc @@ -0,0 +1,13 @@ +When dealing with blocking operations, Micronaut shifts the blocking operations to an unbound, caching I/O thread pool by default. You can configure the I/O thread pool using the api:scheduling.executor.ExecutorConfiguration[] named `io`. For example: + +.Configuring the Server I/O Thread Pool +[source,yaml] +---- +micronaut: + executors: + io: + type: fixed + nThreads: 75 +---- + +The above configuration creates a fixed thread pool with 75 threads. \ No newline at end of file diff --git a/src/main/docs/guide/toc.yml b/src/main/docs/guide/toc.yml index 96ce8d848cf..d8a367e2d4a 100644 --- a/src/main/docs/guide/toc.yml +++ b/src/main/docs/guide/toc.yml @@ -118,7 +118,9 @@ httpServer: serverEvents: Server Events serverConfiguration: title: Configuring the HTTP Server - threadPools: Configuring Server Thread Pools + threadPools: + title: Configuring Server Thread Pools + blockingOperations: Blocking Operations nettyPipeline: Configuring the Netty Pipeline cors: Configuring CORS https: Securing the Server with HTTPS