Number of Web Workers Limit

后端 未结 4 539
甜味超标
甜味超标 2020-12-12 11:45

PROBLEM

I\'ve discovered that there is a limit on the number of Web Workers that can be spawned by a browser.

Example

4条回答
  •  失恋的感觉
    2020-12-12 12:14

    Old question, but comes up on a search, so... There Is a configurable limit in Firefox. If you look in about:config (put as address in FF's address bar), and search for 'worker', you will see several settings, including this one:

    dom.workers.maxPerDomain
    

    Set at 20 by default. Double-click the line and change the setting. You will need to restart the browser.

提交回复
热议问题