From 6ce8515cf393b6f80f92d3200bba18dc71e48080 Mon Sep 17 00:00:00 2001 From: Cassie Tarakajian Date: Fri, 7 Apr 2017 00:01:58 -0400 Subject: [PATCH] update pm2 to use clusering mode --- ecosystem.json | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ecosystem.json b/ecosystem.json index dd58366c..5f56d91f 100644 --- a/ecosystem.json +++ b/ecosystem.json @@ -3,5 +3,7 @@ "script": "index.js", "env": { "NODE_ENV": "production" - } + }, + "instances" : 2, + "exec_mode" : "cluster" } \ No newline at end of file