diff --git a/loader.js b/loader.js index 1b6d36968d..118797095a 100644 --- a/loader.js +++ b/loader.js @@ -132,11 +132,6 @@ Loader.addWorkerEvents = function(worker) { hash: message.hash }, worker.pid); break; - case 'listening': - if (message.primary) { - Loader.primaryWorker = parseInt(worker.pid, 10); - } - break; case 'config:update': Loader.notifyWorkers(message); break; diff --git a/src/webserver.js b/src/webserver.js index 26e0ca7d9f..db95577980 100644 --- a/src/webserver.js +++ b/src/webserver.js @@ -106,13 +106,6 @@ if(nconf.get('ssl')) { } winston.info('NodeBB is now listening on: ' + bind_address); - if (process.send) { - process.send({ - action: 'listening', - bind_address: bind_address, - primary: nconf.get('isPrimary') === 'true' - }); - } callback(); });