removed unused code

v1.18.x
barisusakli 11 years ago
parent e7c2bc5d5d
commit 9e9b138afb

@ -132,11 +132,6 @@ Loader.addWorkerEvents = function(worker) {
hash: message.hash hash: message.hash
}, worker.pid); }, worker.pid);
break; break;
case 'listening':
if (message.primary) {
Loader.primaryWorker = parseInt(worker.pid, 10);
}
break;
case 'config:update': case 'config:update':
Loader.notifyWorkers(message); Loader.notifyWorkers(message);
break; break;

@ -106,13 +106,6 @@ if(nconf.get('ssl')) {
} }
winston.info('NodeBB is now listening on: ' + bind_address); 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(); callback();
}); });

Loading…
Cancel
Save