-
-
Notifications
You must be signed in to change notification settings - Fork 34.8k
Closed
Labels
clusterIssues and PRs related to the cluster subsystem.Issues and PRs related to the cluster subsystem.
Description
Demo app here: https://gist.github.com/Olegas/c2e5550911cbe8b96dae
Steps to reproduce:
- Start app, wait 10 sec
- App is terminated and log show the following lines
Master started
Worker started
Worker listening
Disconnecting worker
Cluster: worker is disconnected
Expected result:
Line Worker disconnected (from https://gist.github.com/Olegas/c2e5550911cbe8b96dae#file-demo-js-L26) is present in log as stated in docs: https://iojs.org/api/cluster.html#cluster_event_disconnect_1
If I change line 25 to cluster.worker.process.on('disconnect', ... it works fine.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
clusterIssues and PRs related to the cluster subsystem.Issues and PRs related to the cluster subsystem.