fix: make pm2 name match deployment env (#46035)

This commit is contained in:
Oliver Eyton-Williams
2022-05-18 13:40:29 +05:30
committed by GitHub
parent f64ddd7bda
commit 1c8a0778a1
+1 -1
View File
@@ -14,7 +14,7 @@ module.exports = {
max_memory_restart: '600M',
instances: 'max',
exec_mode: 'cluster',
name: 'org'
name: env.DEPLOYMENT_ENV === 'staging' ? 'dev' : 'org'
}
]
};