From 8738b13cd11b625c11aea7d8a6b4440b6b7a9892 Mon Sep 17 00:00:00 2001 From: GlassedSilver Date: Thu, 5 May 2022 00:38:40 +0200 Subject: [PATCH] Usage of PM2 Cluster Mode to increase performance --- backend/pm2.config.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/backend/pm2.config.js b/backend/pm2.config.js index af9fea2..9e13963 100644 --- a/backend/pm2.config.js +++ b/backend/pm2.config.js @@ -2,6 +2,8 @@ module.exports = { apps : [{ name : "YoutubeDL-Material", script : "./app.js", + instances: 0, + exec_mode: "cluster", watch : "placeholder", out_file: "/dev/null", error_file: "/dev/null"