-
Notifications
You must be signed in to change notification settings - Fork 124
Commit
also see termux/termux-packages#1798
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
|
||
const DEFAULT_OPTIONS = { | ||
maxCallsPerWorker : Infinity | ||
, maxConcurrentWorkers : require('os').cpus().length | ||
, maxConcurrentWorkers : (require('os').cpus() || { length: 1 }).length | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
mistertown
|
||
, maxConcurrentCallsPerWorker : 10 | ||
, maxConcurrentCalls : Infinity | ||
, maxCallTime : Infinity // exceed this and the whole worker is terminated | ||
|
3 comments
on commit 0b2349c
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cant not run npm i -g npm
on Termux
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why would enabling extra cores help? Im confused. Is it the amount of bits that the command requires?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
doesn't help for me
My Android phone has 8 cores. Is there a better fix so that I don't just use 1 core?