update pm2 configuration
This commit is contained in:
parent
ad62d20544
commit
cedf947a67
1 changed files with 2 additions and 0 deletions
|
@ -1,6 +1,8 @@
|
||||||
{
|
{
|
||||||
"name": "p5js-web-editor",
|
"name": "p5js-web-editor",
|
||||||
"script": "index.js",
|
"script": "index.js",
|
||||||
|
"instances" : "max",
|
||||||
|
"exec_mode" : "cluster",
|
||||||
"env": {
|
"env": {
|
||||||
"NODE_ENV": "production"
|
"NODE_ENV": "production"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue