open fun queueCapacity(queueCapacity: Int): TaskExecutorRegistration
Set the queue capacity for the ThreadPoolExecutor.
NOTE: when an unbounded queueCapacity is configured (the default), the core pool size is effectively the max pool size. This is essentially the "Unbounded queues" strategy as explained in java.util.concurrent.ThreadPoolExecutor. When this strategy is used, the maxPoolSize is ignored.
By default this is set to Integer.MAX_VALUE.