Comparing version 0.6.9 to 0.6.10
@@ -346,4 +346,4 @@ /** | ||
for (var id in God.clusters_db) { | ||
workerAmount++; | ||
if (God.clusters_db[id].pm2_env.exec_mode == 'cluster_mode') { | ||
workerAmount++; | ||
(function (oldWorker, currentWorkerIndex) { | ||
@@ -359,5 +359,6 @@ executeApp(oldWorker.pm2_env, function(err, newWorker) { | ||
oldWorker.pm2_env.pm_id); | ||
God.stopProcessId(oldWorker.pm2_env.pm_id, function(){ | ||
if(currentWorkerIndex === workerAmount){ | ||
cb(); | ||
setTimeout(cb, 1000); | ||
} | ||
@@ -388,2 +389,3 @@ }); | ||
pro.pm2_env.status != cst.ERRORED_STATUS) { | ||
console.log(pro.pid); | ||
usage.lookup(pro.pid, { keepHistory : true }, function(err, res) { | ||
@@ -390,0 +392,0 @@ if (err) |
{ | ||
"name": "pm2", | ||
"preferGlobal": "true", | ||
"version": "0.6.9", | ||
"version": "0.6.10", | ||
"engines" : { | ||
@@ -6,0 +6,0 @@ "node" : ">=0.8" |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
570186
2550