LearnBoost / cluster

Node.JS multi-core server manager with plugins support.
http://learnboost.github.com/cluster
MIT License
2.29k stars 159 forks source link

Add cluster(filename) support #45

Closed tj closed 13 years ago

tj commented 13 years ago

allowing cluster to require the exported server only when in a worker to prevent these issues with db connections being open in master etc

tj commented 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