The size is set with the UV_THREADPOOL_SIZE environment variable. Jobs beyond the pool size wait in a queue and finish in batches.