From 298f14ad2779f82bb8459086fd5135cc0d7f115e Mon Sep 17 00:00:00 2001 From: barisusakli Date: Wed, 3 Sep 2014 12:31:37 -0400 Subject: [PATCH] removed cluster from app.js --- app.js | 10 ---------- loader.js | 2 +- src/webserver.js | 12 ++++++------ 3 files changed, 7 insertions(+), 17 deletions(-) diff --git a/app.js b/app.js index cf0df49229..bf137a3ec0 100644 --- a/app.js +++ b/app.js @@ -104,14 +104,6 @@ function loadConfig() { function start() { - var cluster = require('cluster'); - - if (cluster.isMaster) { - for(var i=0; i<2; ++i) { - cluster.fork(); - } - } else { - loadConfig(); winston.info('Time: ' + new Date()); @@ -183,8 +175,6 @@ function start() { }); }); }); - - } } function setup() { diff --git a/loader.js b/loader.js index 6d65b203b5..304ef1b4b6 100644 --- a/loader.js +++ b/loader.js @@ -97,7 +97,7 @@ nconf.argv(); cluster.setupMaster({ exec: "app.js", - silent: true + silent: false }); for(var x=0;x