Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

cluster 2.0 - step 7: kill workers when master dies #2908

Closed
wants to merge 1 commit into from

Conversation

AndreasMadsen
Copy link
Member

This patch will kill the worker once it has lost its connection with the parent. However if the worker are doing a suicide, other measures will be used.

Related issue: #2060

This feature is highly requested but hasn't been made before now, because it was first with the resent cluster cleanup and child_process.fork().disconnect support it could be made in a simpel way.
Actually this remove more code than it add ;p

Note that this patch can land before or after #2740 has landed.

/cc @isaacs, @igorzi

This is about merging in cluster 2.0 (see #2038)

This patch will kill the worker once it has lost its connection with the parent.
However if the worker are doing a suicide, other measures will be used.
@isaacs
Copy link

isaacs commented Mar 19, 2012

Landed on master.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants