mirror of https://github.com/status-im/metro.git
JSTransformer: pass on `--heap-growing-percent`
Reviewed By: jeanlauliac Differential Revision: D5648906 fbshipit-source-id: 240b3044dd1268cf5f8bb41710647050368ddefb
This commit is contained in:
parent
b3b2d10500
commit
35979c7b00
|
@ -58,8 +58,10 @@ function makeFarm(worker, methods, timeout, maxConcurrentWorkers) {
|
|||
* Feel free to add more cases to the RegExp. A whitelist is preferred, to
|
||||
* guarantee robustness when upgrading node, etc.
|
||||
*/
|
||||
execArgv: process.execArgv.filter(arg =>
|
||||
/^--stack-trace-limit=[0-9]+$/.test(arg),
|
||||
execArgv: process.execArgv.filter(
|
||||
arg =>
|
||||
/^--stack[_-]trace[_-]limit=[0-9]+$/.test(arg) ||
|
||||
/^--heap[_-]growing[_-]percent=[0-9]+$/.test(arg),
|
||||
),
|
||||
maxConcurrentCallsPerWorker: 1,
|
||||
maxConcurrentWorkers,
|
||||
|
|
Loading…
Reference in New Issue