Closed eyalpost closed 4 years ago
when running lerna dependencies:latest
script, my mac hangs due to the large number of processes that are created by this script (basically it runs npm info
for each module).
This bounds the number of processes created (8 seems the best without significantly affecting performance)
and what's the current limit? is it some math of # of processors?
maybe let's make it configurable, WDYT?
currently there is no limit. if there are 200 modules to check then 200 processes will be created. Why make it configurable? Who will configure it?
Why make it configurable? Who will configure it?
ok, but let's make it number of cores available. IMHO more reasonable then just 8
@eyalpost why needed? why 8?