Skip to content

Latest commit

 

History

History
13 lines (11 loc) · 455 Bytes

File metadata and controls

13 lines (11 loc) · 455 Bytes

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
micronaut:
  executors:
    io:
      type: fixed
      nThreads: 75

The above configuration creates a fixed thread pool with 75 threads.