-
-
Notifications
You must be signed in to change notification settings - Fork 34k
Closed
Labels
clusterIssues and PRs related to the cluster subsystem.Issues and PRs related to the cluster subsystem.
Description
Demo app: https://gist.github.com/Olegas/c2e5550911cbe8b96dae
Steps to reproduce
- Start server
- Connect to it via e.g. telnet
telnet localhost 8080 - Wait a few seconds for lines
Disconnecting workerandCluster: worker is disconnectedto appear - Process is not terminated because client connection is still alive
- Close client connection
- App terminates
Expected behavior:
- I don't expect
Cluster: worker is disconnectedmessage until all connections is closed (https://iojs.org/api/cluster.html#cluster_worker_disconnect "... wait for the 'close' event on those servers ... ") - I expecting to see
Server is closedmessage in the log (from line 32)
Metadata
Metadata
Assignees
Labels
clusterIssues and PRs related to the cluster subsystem.Issues and PRs related to the cluster subsystem.