Change deploy to cluster mode

pull/40/head
Rodrigo Nascimento 11 years ago
parent 476eceefa8
commit f6646ea4c0
  1. 3
      pm2.production.json

@ -1,7 +1,8 @@
{
"apps": [{
"name": "rocket.chat",
"exec_mode": "fork_mode",
"exec_mode": "cluster",
"instances" : 0,
"max_memory_restart": "400M",
"log_date_format": "YYYY-MM-DD HH:mm:ss SSS",
"script": "/var/www/rocket.chat/bundle/main.js",

Loading…
Cancel
Save