cluster: simplify process event handling
authorAndreas Madsen <amwebdk@gmail.com>
Wed, 1 Feb 2012 16:16:15 +0000 (17:16 +0100)
committerisaacs <i@izs.me>
Mon, 6 Feb 2012 22:54:11 +0000 (14:54 -0800)
commita20872045a1e153f6687d37f4d824739e3a60b27
treeef7f8841f091ba9e05d5228d3b4f4892e987688e
parent5e1471c806a387d9953ba3387892190d7f423fbb
cluster: simplify process event handling

This simplify the internalMessage and exit event handling
And simply relay message and error event to the worker object
Note that the error event was not relayed before
lib/cluster.js