cluster: kill workers when master dies
authorAndreas Madsen <amwebdk@gmail.com>
Sun, 11 Mar 2012 13:19:02 +0000 (14:19 +0100)
committerisaacs <i@izs.me>
Mon, 19 Mar 2012 21:22:36 +0000 (14:22 -0700)
commit94d337eb0fbf78bda2af6938b4a65d3c94808caf
tree05cab5989d7a29165fd887a79ccdc48a35fa7aaf
parentd927fbc9ab01b8120d71dda0519c2ed2e82b030a
cluster: kill workers when master dies

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.
lib/cluster.js
test/simple/test-cluster-master-kill.js [new file with mode: 0644]