worker_threads: fix spawning from preload scripts#37481
worker_threads: fix spawning from preload scripts#37481jasnell wants to merge 1 commit intonodejs:masterfrom
Conversation
|
@addaleax ... what would you think of a command line argument that imposed a process-level upper limit on the maximum number of concurrent Workers? |
Fix spawning nested worker threads from preload scripts and warn about doing so. Signed-off-by: James M Snell <[email protected]> Fixes: nodejs#36531
a2243e1 to
671bbc7
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
I guess that would be fine – there’s precedent for that kind of thing in the form of |
Fix spawning nested worker threads from preload scripts and warn about doing so. Signed-off-by: James M Snell <[email protected]> Fixes: #36531 PR-URL: #37481 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Matteo Collina <[email protected]>
|
Landed in 360e8c8 |
Fix spawning nested worker threads from preload scripts and warn about doing so. Signed-off-by: James M Snell <[email protected]> Fixes: nodejs#36531 PR-URL: nodejs#37481 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Matteo Collina <[email protected]>
Fix spawning nested worker threads from preload scripts and warn about doing so. Signed-off-by: James M Snell <[email protected]> Fixes: #36531 PR-URL: #37481 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Matteo Collina <[email protected]>
Fix spawning nested worker threads from preload scripts and warn about doing so. Signed-off-by: James M Snell <[email protected]> Fixes: #36531 PR-URL: #37481 Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Matteo Collina <[email protected]>
Fix spawning nested worker threads from preload scripts and
warn about doing so.
Signed-off-by: James M Snell [email protected]
Fixes: #36531