doc: add parallelism note to os.cpus() · nodejs/node@faf5c23 · GitHub
Skip to content

Commit faf5c23

Browse files
cjihrigRafaelGSS
authored andcommitted
doc: add parallelism note to os.cpus()
With the introduction of os.availableParallelism(), users should no longer rely on os.cpus().length to determine the amount of available parallelism. This commit adds a note to the os.cpus() docs. PR-URL: #45895 Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net>
1 parent d71883e commit faf5c23

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

doc/api/os.md

Lines changed: 4 additions & 0 deletions

0 commit comments

Comments
 (0)