mirror of
https://github.com/Unitech/pm2.git
synced 2025-12-08 20:35:53 +00:00
memory optimisation tentative
This commit is contained in:
parent
7deeb98dff
commit
b7063f8d21
@ -94,12 +94,12 @@ module.exports = function(God) {
|
||||
// Avoid _old type pm_ids
|
||||
if (isNaN(God.clusters_db[key].pm2_env.pm_id)) continue;
|
||||
|
||||
arr.push({
|
||||
arr.push(Utility.clone({
|
||||
pid : God.clusters_db[key].process.pid,
|
||||
name : God.clusters_db[key].pm2_env.name,
|
||||
pm2_env : God.clusters_db[key].pm2_env,
|
||||
pm_id : God.clusters_db[key].pm2_env.pm_id
|
||||
});
|
||||
}));
|
||||
}
|
||||
|
||||
return arr;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user