Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign up
Hi I'm following the doc to make a cluster with the app but the doc doesn't match with what's in the default app.js file
Since there is a condition that either fork or create the app, how can you export the last line module.exports = app for the forks ?
Do you have any example ?
Link to the doc: https://docs.feathersjs.com/cookbook/general/scaling.html#horizontal-scaling
Link to a typical cluster with express: https://gist.github.com/shivkumarganesh/6052143
And Feathers expects module.exports = app as the last line which doesn't exist during a fork if condition.
Thanks.