From bf20c23a3b59da7d2d3cfda3c475d69f8adf438d Mon Sep 17 00:00:00 2001 From: arifal Date: Tue, 21 Apr 2026 16:22:47 +0700 Subject: [PATCH] fix cluster mode --- ecosystem.config.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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",