refactor: use redis subpib instead of cluster post
This commit is contained in:
@@ -4,11 +4,13 @@ module.exports = {
|
||||
name: 'mx-server',
|
||||
script: 'dist/src/main.js',
|
||||
autorestart: true,
|
||||
exec_mode: 'fork',
|
||||
exec_mode: 'cluster',
|
||||
instances: 2,
|
||||
watch: false,
|
||||
|
||||
max_memory_restart: '230M',
|
||||
env: {
|
||||
NODE_ENV: 'production',
|
||||
NODE_ENV: 'development',
|
||||
},
|
||||
|
||||
args: '--allowed_origins=dev.* --cluster',
|
||||
|
||||
Reference in New Issue
Block a user