-
Notifications
You must be signed in to change notification settings - Fork 30.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document NODE_MANY_ACCEPTS environment variable. #18391
Comments
It's explained in the libuv documentation:
|
Sounds like this should be documented in https://github.com/nodejs/node/blob/master/doc/api/cli.md#environment-variables and https://github.com/nodejs/node/blob/master/doc/node.1 |
IIRC, we added it as a debugging escape hatch but it's never been used and it's probably just dead code at this point. It's better to remove it than to document it. |
I would like to take this up. @Fishrock123 @bnoordhuis So it has to be documented or to be removed? |
I'm not sure, I guess we should investigate if it still works / is necessary or useful. |
The only two places it seems to be used are: node/lib/internal/child_process.js Lines 575 to 579 in 02fef8a
and node/lib/internal/child_process.js Lines 673 to 676 in 02fef8a
the c docs mention that:
It seems thought that the default in Node.js is to have it disabled by default. |
I have reply deja vu, I remember answering this... It's opt-out, i.e., on by default. The two calls you link to are the opt-outs. We should probably just call @juggernaut451 Pull request welcome if you want to take this on. I'd make |
This is an undocumented utility function that is of questionable utility. Fixes: nodejs#18391
18391 |
While investigating a problem with electron/dat I found the
NODE_MANY_ACCEPTS
environment variable exclusively used in the win32 context.node/lib/net.js
Lines 1757 to 1760 in 02fef8a
However I was not able to find any documentation of why this is necessary or what it does in the environment variable doc.
The text was updated successfully, but these errors were encountered: