Skip to content
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

Feature request: Allow 'cwd' in cluster.settings #16388

Closed
laino opened this issue Oct 22, 2017 · 0 comments
Closed

Feature request: Allow 'cwd' in cluster.settings #16388

laino opened this issue Oct 22, 2017 · 0 comments
Labels
cluster Issues and PRs related to the cluster subsystem. feature request Issues that request new features to be added to Node.js.

Comments

@laino
Copy link

laino commented Oct 22, 2017

  • Subsystem: cluster

cwd is the only property currently missing from cluster.settings, but which is available in child_process.fork().

It should however only be added after #16387 is resolved, to avoid encouraging people to rush face first into that bug.

The actual implementation would just be cwd: cluster.settings.cwd, added here.

@mscdex mscdex added cluster Issues and PRs related to the cluster subsystem. feature request Issues that request new features to be added to Node.js. labels Oct 23, 2017
cjihrig added a commit to cjihrig/node that referenced this issue Jan 29, 2018
This commit allows cluster workers to be created with
configurable working directories.

Fixes: nodejs#16388
PR-URL: nodejs#18399
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
evanlucas pushed a commit that referenced this issue Jan 30, 2018
This commit allows cluster workers to be created with
configurable working directories.

Fixes: #16388
PR-URL: #18399
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
MayaLekova pushed a commit to MayaLekova/node that referenced this issue May 8, 2018
This commit allows cluster workers to be created with
configurable working directories.

Fixes: nodejs#16388
PR-URL: nodejs#18399
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
MylesBorins pushed a commit that referenced this issue Aug 2, 2018
This commit allows cluster workers to be created with
configurable working directories.

Fixes: #16388
PR-URL: #18399
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
MylesBorins pushed a commit that referenced this issue Aug 2, 2018
This commit allows cluster workers to be created with
configurable working directories.

Fixes: #16388
PR-URL: #18399
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
rvagg pushed a commit that referenced this issue Aug 16, 2018
This commit allows cluster workers to be created with
configurable working directories.

Fixes: #16388
PR-URL: #18399
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cluster Issues and PRs related to the cluster subsystem. feature request Issues that request new features to be added to Node.js.
Projects
None yet
Development

No branches or pull requests

2 participants