mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-12-21 16:00:26 +01:00
removed unused code
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user