pm2-perfmonitor 2.4.1 → 2.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/lib/app.js +2 -2
  2. package/package.json +1 -1
package/lib/app.js CHANGED
@@ -183,8 +183,8 @@ const sendRestartAlert = async (title, message) => {
183
183
  cmd: alertCmdPath,
184
184
  env: alertEnv,
185
185
  level: alertLevel,
186
- title: `[${MODULE_NAME}] [${datetime}] Alert: ${title}`,
187
- content: `[${jobHostName}] - ${message}`,
186
+ title: `[${MODULE_NAME}] Alert: ${title}`,
187
+ content: `[${jobHostName}] [${datetime}] - ${message}`,
188
188
  })
189
189
  }
190
190
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pm2-perfmonitor",
3
- "version": "2.4.1",
3
+ "version": "2.4.2",
4
4
  "description": "A pm2 module for performance monitoring. Automatically detect zombie processes and restart it",
5
5
  "author": {
6
6
  "name": "elenh",