The data contained in this repository can be downloaded to your computer using one of several clients.
Please see the documentation of your version control software client for more information.

Please select the desired protocol below to get the URL.

This URL has Read-Only access.

Statistics
| Branch: | Revision:

main_repo / test / simple / test-cluster-worker-disconnect.js @ b0c0111b

History | View | Annotate | Download (3.15 KB)

# Date Author Comment
90ce5b3d 03/30/2012 03:59 PM isaacs

cluster: Rename 'death' back to 'exit'

d927fbc9 03/19/2012 04:29 PM Andreas Madsen

cluster: add graceful disconnect support

This patch add a worker.disconnect() method there will stop the worker from accepting
new connections and then stop the IPC. This allow the worker to die graceful.
When the IPC has been disconnected a 'disconnect' event will emit....