fix cluster mode

This commit is contained in:
2026-04-21 16:22:47 +07:00
parent 7379c70dc0
commit bf20c23a3b
+3 -3
View File
@@ -11,9 +11,9 @@ module.exports = {
name: "setrip", name: "setrip",
cwd: __dirname, cwd: __dirname,
script: "node_modules/next/dist/bin/next", script: "node_modules/next/dist/bin/next",
args: "start", args: "start -p 3090",
instances: 1, instances: "max",
exec_mode: "fork", exec_mode: "cluster",
autorestart: true, autorestart: true,
watch: false, watch: false,
max_memory_restart: "512M", max_memory_restart: "512M",