update pm2 to use clusering mode

This commit is contained in:
Cassie Tarakajian 2017-04-07 00:01:58 -04:00
parent 99152f6e37
commit 6ce8515cf3
1 changed files with 3 additions and 1 deletions

View File

@ -3,5 +3,7 @@
"script": "index.js",
"env": {
"NODE_ENV": "production"
}
},
"instances" : 2,
"exec_mode" : "cluster"
}