From fdd8ac5f981c3ac3383d1228464f88207d0fca63 Mon Sep 17 00:00:00 2001 From: Keldaan Date: Mon, 13 May 2024 10:22:53 +0200 Subject: [PATCH] reduce cpu number to 1 --- ecosystem.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ecosystem.config.js b/ecosystem.config.js index e687bf56fd..ac4843ec57 100644 --- a/ecosystem.config.js +++ b/ecosystem.config.js @@ -5,7 +5,7 @@ module.exports = { apps: [{ name : "colyseus", script : "./app/public/dist/server/app/index.js", // your entrypoint file - instances : os.cpus().length, + instances : 1, exec_mode : "fork", // IMPORTANT: do not use cluster mode. watch : false, time : true,