[Bug]: Invalid environment/flags from parent cause Workers to fail when using worker_threads #2075
Open
1 task done
Labels
bug
Something isn't working
Version
4.3
Platform
NodeJS
What happened?
Currently when using worker_threads and supplying an unsupported flag to the parent application, workers will throw. For example, when using
--max-old-space-size
the worker will fail with:[ERR_WORKER_INVALID_EXEC_ARGV]: Initiated Worker with invalid execArgv flags: --max_old_space_size=1500
How to reproduce.
No response
Relevant log output
No response
Code of Conduct
The text was updated successfully, but these errors were encountered: