Node.js 在节点承诺池中,最大并发限制是什么?

Node.js 在节点承诺池中,最大并发限制是什么?,node.js,npm,node-modules,es6-promise,Node.js,Npm,Node Modules,Es6 Promise,承诺池中的最大withConcurrency值是多少 const PromisePool = require('@supercharge/promise-pool') const details = [{name:'abc'},{name:'def'},{name:'ghi'},...............] const { results, errors } = await PromisePool .withConcurrency(500) .for(details) .pr

承诺池中的最大withConcurrency值是多少

const PromisePool = require('@supercharge/promise-pool')

const details = [{name:'abc'},{name:'def'},{name:'ghi'},...............]

const { results, errors } = await PromisePool
  .withConcurrency(500)
  .for(details)
  .process(async data => {
    const user = await User.processData(data)

return user
})