From a2eafce5c19d95034230415b95171022ed285155 Mon Sep 17 00:00:00 2001 From: yorn <1057707203@qq.com> Date: Fri, 16 Jan 2026 09:27:56 +0800 Subject: [PATCH] =?UTF-8?q?1.=E5=88=87=E6=8D=A2=E6=88=90=E6=89=80=E6=9C=89?= =?UTF-8?q?=E7=94=A8=E6=88=B7=E9=83=BD=E5=8F=AF=E4=BB=A5=E8=AE=BF=E9=97=AE?= =?UTF-8?q?=E4=BA=A4=E5=8F=89=E8=AF=84=E6=9F=A5=E3=80=82=202.pm2=E8=BF=90?= =?UTF-8?q?=E8=A1=8C=E6=96=87=E4=BB=B6=E8=87=AA=E5=8A=A8=E9=87=8D=E5=90=AF?= =?UTF-8?q?=E7=BC=93=E5=AD=98=E6=94=B9=E6=88=904g=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env | 2 +- ecosystem.config.cjs | 12 ++++++------ tsconfig.json | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.env b/.env index 7ac608c..3ee61b6 100644 --- a/.env +++ b/.env @@ -5,4 +5,4 @@ JWT_SECRET=gdyc-super-secrets-jjwtt-key-change-this-in-production-20250721-from- # 交叉评查专属模式 # 设置为 true 时,端口51707只显示交叉评查入口,隐藏其他模块(上线模式) # 设置为 false 时,保持正常模式显示所有模块(测试/开发模式) -CROSS_CHECKING_ONLY_MODE=true \ No newline at end of file +CROSS_CHECKING_ONLY_MODE=false \ No newline at end of file diff --git a/ecosystem.config.cjs b/ecosystem.config.cjs index a732bf4..ccaad9b 100644 --- a/ecosystem.config.cjs +++ b/ecosystem.config.cjs @@ -15,7 +15,7 @@ module.exports = { instances: 1, autorestart: true, watch: false, - max_memory_restart: '1G', + max_memory_restart: '4G', env: { NODE_ENV: 'production', PORT: 51703, @@ -45,7 +45,7 @@ module.exports = { instances: 1, autorestart: true, watch: false, - max_memory_restart: '1G', + max_memory_restart: '2G', env: { NODE_ENV: 'production', PORT: 51704, @@ -74,7 +74,7 @@ module.exports = { instances: 1, autorestart: true, watch: false, - max_memory_restart: '1G', + max_memory_restart: '2G', env: { NODE_ENV: 'production', PORT: 51705, @@ -103,7 +103,7 @@ module.exports = { instances: 1, autorestart: true, watch: false, - max_memory_restart: '1G', + max_memory_restart: '2G', env: { NODE_ENV: 'production', PORT: 51706, @@ -132,7 +132,7 @@ module.exports = { instances: 1, autorestart: true, watch: false, - max_memory_restart: '1G', + max_memory_restart: '2G', env: { NODE_ENV: 'production', PORT: 51707, @@ -164,7 +164,7 @@ module.exports = { // instances: 1, // autorestart: true, // watch: false, - // max_memory_restart: '1G', + // max_memory_restart: '2G', // env: { // NODE_ENV: 'production', // PORT: 51708, diff --git a/tsconfig.json b/tsconfig.json index 9d87dd3..b063100 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -9,7 +9,7 @@ ], "compilerOptions": { "lib": ["DOM", "DOM.Iterable", "ES2022"], - "types": ["@remix-run/node", "vite/client"], + "types": ["@remix-run/node", "vite/client", "@types/react", "@types/react-dom"], "isolatedModules": true, "esModuleInterop": true, "jsx": "react-jsx",