refactor: config store stateless

This commit is contained in:
Innei
2022-01-15 18:51:50 +08:00
parent 3e7de6845b
commit 286a82b3d7
12 changed files with 109 additions and 66 deletions

16
pm2.dev.config.js Normal file
View File

@@ -0,0 +1,16 @@
module.exports = {
apps: [
{
name: 'mx-server',
script: 'dist/src/main.js',
autorestart: true,
exec_mode: 'cluster',
watch: false,
instances: 2,
max_memory_restart: '230M',
env: {
NODE_ENV: 'development',
},
},
],
}