Closed tj closed 13 years ago
Added cluster(filename) support. Closed by bd14d82f7a8e5565f1c5456a9556f0e8f51e410e
This is great because many people are having issues with open db connections etc, as they initialize things directly within server.js, so in turn the master process has all these connections which are never closed on restart etc...
This way we can only require() the server within the workers
allowing cluster to require the exported server only when in a worker to prevent these issues with db connections being open in master etc