AndreasMadsen/cluster-vhost — Issue #6: adjust asynchronous architecture
Author: AndreasMadsen
Created: 2011-10-30 09:33:43+00:00
State: open

In the new asynchronous architecture the `ready` event is first emitted when all cluster-workers has been spawned and connected. (the `cluster-spawn` event has been emitted `cpu.length` times). However we are `ready` to send vhost data when the `port` and `host` or `path` is given.

This means that the `ready` event should emit independent of what the `cluster-workers` state is, however the `finalized` event should first be emitted when all workers are running.