summaryrefslogtreecommitdiff
path: root/src/node_external_reference.h
diff options
context:
space:
mode:
authorTobias Nießen <tniessen@tnie.de>2023-04-28 20:32:08 +0200
committerGitHub <noreply@github.com>2023-04-28 18:32:08 +0000
commit1baf96aeb88680bb89b1903b97a574b13e1674ab (patch)
tree2db01e38d33bf97db0dee4894dbd9681954ec513 /src/node_external_reference.h
parentb31d587dc8c1b0f459243d2b96a17a7175c996cf (diff)
downloadnode-new-1baf96aeb88680bb89b1903b97a574b13e1674ab.tar.gz
doc,test: fix concurrency option of test()
The documentation appears to still be wrong w.r.t. the meaning of the concurrency option of the test() function. The implementation appears to default to Infinity when the option is set to true. Is that intended or a good idea? I don't know. It certainly makes more sense than what the documentation says (which is basing the number of concurrent tasks within a single thread on the number of CPU cores). This changes the documentation to hopefully match the implementation and adds a test that rules out the (rather arbitrary) behavior described in the documentation. Refs: https://github.com/nodejs/node/issues/47365 Refs: https://github.com/nodejs/node/pull/47642 PR-URL: https://github.com/nodejs/node/pull/47734 Reviewed-By: Moshe Atlow <moshe@atlow.co.il> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Diffstat (limited to 'src/node_external_reference.h')
0 files changed, 0 insertions, 0 deletions