feat(ecosystem): add exec_mode to PM2 configuration for control and web server
Deploy to Raspberry Pi / deploy (push) Failing after 10s
Deploy to Raspberry Pi / deploy (push) Failing after 10s
- Introduced `exec_mode: "fork"` for both the control plane and web server processes to enhance performance and resource management.
This commit is contained in:
@@ -43,6 +43,7 @@ module.exports = {
|
||||
script: "packages/server/control.js",
|
||||
interpreter: "node",
|
||||
instances: 1,
|
||||
exec_mode: "fork",
|
||||
autorestart: true,
|
||||
max_restarts: 20,
|
||||
env: {
|
||||
@@ -56,6 +57,7 @@ module.exports = {
|
||||
script: "packages/server/web-server.js",
|
||||
interpreter: "node",
|
||||
instances: 1,
|
||||
exec_mode: "fork",
|
||||
autorestart: true,
|
||||
max_restarts: 20,
|
||||
env: {
|
||||
|
||||
Reference in New Issue
Block a user