diff --git a/loader.js b/loader.js index d2fc606842..2d21943218 100644 --- a/loader.js +++ b/loader.js @@ -199,19 +199,6 @@ function killWorkers() { }); } -Loader.notifyWorkers = function (msg, worker_pid) { - worker_pid = parseInt(worker_pid, 10); - workers.forEach(function (worker) { - if (parseInt(worker.pid, 10) !== worker_pid) { - try { - worker.send(msg); - } catch (e) { - console.log('[cluster/notifyWorkers] Failed to reach pid ' + worker_pid); - } - } - }); -}; - fs.open(pathToConfig, 'r', function (err) { if (!err) { if (nconf.get('daemon') !== 'false' && nconf.get('daemon') !== false) {