GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||
GeezerVison is showing github.com — Cluster: worker.disconnect waits for handles to close before firing "disconnect" event · Issue #4542 · nodejs/node Closed Labels clusterIssues and PRs related to the cluster subsystem. DescriptionIn the classic (0.10) cluster scheduler (SCHED_NONE), when Line 404 in f299d87
In the Round Robin mode, Line 655 in f299d87
In short, the old behavior was to: 1) fire "disconnect", 2) wait for handles to close, 3) fire "exit". The new behavior is 1) disconnect IPC (but don't fire "disconnect" event), 2) wait for handles to close, 3) fire "disconnect" event, 4) fire "exit" event The scenario I'm looking at is if a worker disconnects, I'd like the master to immediately start a new worker in its place, while waiting for the previous worker to terminate (or force terminate it if it takes too long to close on its own). This was possible with the old scheduler, but not the round robin scheduler. Activity
MetadataMetadataAssigneesLabelsclusterIssues and PRs related to the cluster subsystem. TypeProjectsMilestoneRelationshipsDevelopmentIssue actions | ||||
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |