Skip to content

Commit 9e6c461

Browse files
committed
[cluster] update pm2 config
1 parent 85e0f0e commit 9e6c461

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

pm2.json

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
{
22
"apps" : [{
3-
"name" : "iframely-app",
3+
"name" : "iframely",
44
"script" : "server.js",
5-
"watch" : ["modules", "lib", "plugins", "config", "server.js"]
5+
"instances" : 0,
6+
"exec_mode" : "cluster",
7+
"max_memory_restart": "120M",
8+
"kill_timeout": 6000
69
}]
710
}

0 commit comments

Comments
 (0)