Use fork mode instead of cluster for PM2
All checks were successful
Build Frontend / Build Frontend (push) Successful in 22s

This commit is contained in:
2026-01-11 01:26:59 +00:00
parent f6251356fa
commit 91f01cd1cf

View File

@@ -5,7 +5,7 @@ module.exports = {
script: "./index.js",
cwd: "/root/ttbackend",
instances: 1,
exec_mode: "cluster",
exec_mode: "fork",
autorestart: true,
watch: true,
ignore_watch: ["node_modules", "logs", ".git", "frontend"],