Closed chrismytton closed 9 years ago
This allows the application to use multiple processes to serve requests. When a worker dies it will automatically be replaced by a new one.
From https://gist.github.com/dickeyxxx/0f535be1ada0ea964cae and originally found on http://blog.carbonfive.com/2014/06/02/node-js-in-production/.
Fixes #770
Closing in favour of using passenger. See https://github.com/mysociety/popit/pull/832
This allows the application to use multiple processes to serve requests. When a worker dies it will automatically be replaced by a new one.
From https://gist.github.com/dickeyxxx/0f535be1ada0ea964cae and originally found on http://blog.carbonfive.com/2014/06/02/node-js-in-production/.
Fixes #770