Use fork mode instead of cluster for PM2
All checks were successful
Build Frontend / Build Frontend (push) Successful in 22s
All checks were successful
Build Frontend / Build Frontend (push) Successful in 22s
This commit is contained in:
@@ -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"],
|
||||
|
||||
Reference in New Issue
Block a user