mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-04 06:40:44 +01:00
removed hardcoded silent flag from cluster setup
This commit is contained in:
@@ -26,7 +26,7 @@ numCPUs = nconf.get('cluster') || require('os').cpus().length;
|
||||
Loader.init = function() {
|
||||
cluster.setupMaster({
|
||||
exec: "app.js",
|
||||
silent: false/*process.env.NODE_ENV !== 'development' ? true : false*/
|
||||
silent: process.env.NODE_ENV !== 'development' ? true : false
|
||||
});
|
||||
|
||||
cluster.on('fork', function(worker) {
|
||||
|
||||
Reference in New Issue
Block a user