removed unused callback

v1.18.x
barisusakli 10 years ago
parent e86650a6af
commit e7c2bc5d5d

@ -102,9 +102,7 @@ Loader.addWorkerEvents = function(worker) {
break; break;
case 'restart': case 'restart':
console.log('[cluster] Restarting...'); console.log('[cluster] Restarting...');
Loader.restart(function(err) { Loader.restart();
console.log('[cluster] Restarting...');
});
break; break;
case 'reload': case 'reload':
console.log('[cluster] Reloading...'); console.log('[cluster] Reloading...');
@ -199,7 +197,7 @@ function getPorts() {
return port; return port;
} }
Loader.restart = function(callback) { Loader.restart = function() {
killWorkers(); killWorkers();
Loader.start(); Loader.start();

Loading…
Cancel
Save