open fun maxPoolSize(maxPoolSize: Int): TaskExecutorRegistration
Set the max pool size of the ThreadPoolExecutor.
NOTE: When an unbounded queueCapacity is configured (the default), the max pool size is effectively ignored. See the "Unbounded queues" strategy in java.util.concurrent.ThreadPoolExecutor for more details.
By default this is set to Integer.MAX_VALUE.