From 51ab1552a4eab81df68ba08611d95331ad2b97c6 Mon Sep 17 00:00:00 2001 From: DIYgod Date: Tue, 1 Aug 2023 15:44:16 +0100 Subject: [PATCH] chore: add pm2 max_memory_restart --- ecosystem.config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/ecosystem.config.js b/ecosystem.config.js index e48e453a..ad3397f5 100644 --- a/ecosystem.config.js +++ b/ecosystem.config.js @@ -4,6 +4,7 @@ module.exports = { instances: 2, name: "xlog", script: "./server.js", + max_memory_restart: "4G", }, ], }