diff --git a/pm2.config.js b/pm2.config.js index 26439ec..9cb7f50 100644 --- a/pm2.config.js +++ b/pm2.config.js @@ -16,7 +16,7 @@ const apps = [ name: "sami_backend", script, args: ["start", "--only", "backend", "--build", "--production"], - restart_delay: 5000, + restart_delay: 30000, node_args: "--max-old-space-size=2048", ...getLogPaths("backend"), }, @@ -26,7 +26,7 @@ const apps = [ name: "sami_frontend", script, args: ["start", "--only", "frontend"], - restart_delay: 5000, + restart_delay: 30000, node_args: "--max-old-space-size=2048", ...getLogPaths("frontend"), },