From f9e384665500d2c5ae2e1f15ba488c56aba82724 Mon Sep 17 00:00:00 2001 From: unimatrixgit <95320811+unimatrixgit@users.noreply.github.com> Date: Mon, 16 Nov 2026 00:47:08 +0100 Subject: [PATCH] Allow the website bundle to run within the upgraded memory budget --- website/ops/promote-safe-v3.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/ops/promote-safe-v3.py b/website/ops/promote-safe-v3.py index 25cf4c30..72a7af8d 100644 --- a/website/ops/promote-safe-v3.py +++ b/website/ops/promote-safe-v3.py @@ -94,7 +94,7 @@ def main(): for name,entry in ((f'dunerealms-web-{slot}','node/start.mjs'),(f'dunerealms-cp-{slot}','control-panel/start.mjs')): apps.append({'name':name,'cwd':str(release),'script':entry,'exec_mode':'fork','instances':1, 'interpreter':NODE,'node_args':'--env-file='+ENV,'autorestart':True, - 'max_memory_restart':'2G','env':{'NODE_ENV':'production','PORT':str(web),'CP_PORT':str(cp)}}) + 'max_memory_restart':'3G','env':{'NODE_ENV':'production','PORT':str(web),'CP_PORT':str(cp)}}) config.write_text('module.exports = '+json.dumps({'apps':apps})+';\n') print('Starting candidate',sha,slot,flush=True) pm2('start',str(config),timeout=90) if False else pm2('start',str(config))