Use os.availableParallelism() instead of os.cpus().length · ruby/setup-ruby@274049f · GitHub
Skip to content

Commit 274049f

Browse files
committed
Use os.availableParallelism() instead of os.cpus().length
* As https://nodejs.org/api/os.html#oscpus says: os.cpus().length should not be used to calculate the amount of parallelism available to an application. Use os.availableParallelism() for this purpose.
1 parent a96ff53 commit 274049f

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎bundler.js‎

Lines changed: 1 addition & 1 deletion

‎dist/index.js‎

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)