Skip to content

Commit

Permalink
fixes #39 - pm2 must have changed again
Browse files Browse the repository at this point in the history
  • Loading branch information
achingbrain committed Feb 9, 2015
1 parent 6e4d5ed commit 1cb0b03
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/components/PM2Listener.js
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ PM2Listener.prototype._mapSystemData = function(pm2Interface, data, pm2Details)
pid: process.pid,
name: process.pm2_env.name,
script: process.pm2_env.pm_exec_path,
uptime: data.system.time - (process.pm2_env.pm_uptime / 1000),
uptime: (data.system.time - process.pm2_env.pm_uptime) / 1000,
restarts: process.pm2_env.restart_time,
status: process.pm2_env.status,
memory: process.monit.memory,
Expand Down Expand Up @@ -270,4 +270,4 @@ PM2Listener.prototype._findDebugPort = function(execArgv) {
return port;
}

module.exports = PM2Listener;
module.exports = PM2Listener;

0 comments on commit 1cb0b03

Please sign in to comment.