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 <jasnell@gmail.com> 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 |
|
Landed in 360e8c8 |
Fix spawning nested worker threads from preload scripts and warn about doing so. Signed-off-by: James M Snell <jasnell@gmail.com> Fixes: nodejs#36531 PR-URL: nodejs#37481 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Fix spawning nested worker threads from preload scripts and
warn about doing so.
Signed-off-by: James M Snell jasnell@gmail.com
Fixes: #36531