From 1c8a0778a1f1037ed0a62f145c7fc3765c52ff0f Mon Sep 17 00:00:00 2001 From: Oliver Eyton-Williams Date: Wed, 18 May 2022 10:10:29 +0200 Subject: [PATCH] fix: make pm2 name match deployment env (#46035) --- api-server/ecosystem.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api-server/ecosystem.config.js b/api-server/ecosystem.config.js index 8b74c57568c..42c4ff402d1 100644 --- a/api-server/ecosystem.config.js +++ b/api-server/ecosystem.config.js @@ -14,7 +14,7 @@ module.exports = { max_memory_restart: '600M', instances: 'max', exec_mode: 'cluster', - name: 'org' + name: env.DEPLOYMENT_ENV === 'staging' ? 'dev' : 'org' } ] };