diff --git a/ecosystem.config.js b/ecosystem.config.js index 790d8ec..51d0ec3 100644 --- a/ecosystem.config.js +++ b/ecosystem.config.js @@ -11,9 +11,9 @@ module.exports = { name: "setrip", cwd: __dirname, script: "node_modules/next/dist/bin/next", - args: "start", - instances: 1, - exec_mode: "fork", + args: "start -p 3090", + instances: "max", + exec_mode: "cluster", autorestart: true, watch: false, max_memory_restart: "512M",