From aa47947996e42f9883f94869273e176caec22272 Mon Sep 17 00:00:00 2001 From: ThrRip Date: Wed, 13 Sep 2023 03:16:57 +0800 Subject: [PATCH] home: Switch to single instance mode to run with Bun --- packages/home/ecosystem.config.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/home/ecosystem.config.js b/packages/home/ecosystem.config.js index 0d6e23e..54dcfc2 100644 --- a/packages/home/ecosystem.config.js +++ b/packages/home/ecosystem.config.js @@ -5,9 +5,7 @@ module.exports = { script: './.output/server/index.mjs', interpreter: 'bun', port: 22320, - exec_mode: 'cluster', - instances: 'max', - max_memory_restart: '150M', + max_memory_restart: '300M', env: { 'NITRO_PORT': 22320 }