Skip to content

Commit

Permalink
[cluster] update pm2 config
Browse files Browse the repository at this point in the history
  • Loading branch information
nleush committed Jul 21, 2016
1 parent 85e0f0e commit 9e6c461
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions pm2.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
{
"apps" : [{
"name" : "iframely-app",
"name" : "iframely",
"script" : "server.js",
"watch" : ["modules", "lib", "plugins", "config", "server.js"]
"instances" : 0,
"exec_mode" : "cluster",
"max_memory_restart": "120M",
"kill_timeout": 6000
}]
}

0 comments on commit 9e6c461

Please sign in to comment.