--v8-pool-size=num


设置 V8 的线程池大小,用于分配后台作业。

【Set V8's thread pool size which will be used to allocate background jobs.】

如果设置为 0,那么 Node.js 将根据对并行量的估算选择合适的线程池大小。

【If set to 0 then Node.js will choose an appropriate size of the thread pool based on an estimate of the amount of parallelism.】

并行度是指在给定机器中可以同时执行的计算数量。一般来说,它与 CPU 的数量相同,但在虚拟机或容器等环境中可能会有所不同。

【The amount of parallelism refers to the number of computations that can be carried out simultaneously in a given machine. In general, it's the same as the amount of CPUs, but it may diverge in environments such as VMs or containers.】