From 88656b6076ce2771925bfd293354b907a2608d5a Mon Sep 17 00:00:00 2001 From: aiyimickey <39365912+aiyimickey@users.noreply.github.com> Date: Wed, 1 Jul 2026 19:57:38 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20entrypoint=20worker=20=E5=A4=B1=E8=B4=A5?= =?UTF-8?q?=E4=B8=8D=E9=98=BB=E5=A1=9E=E5=90=AF=E5=8A=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- entrypoint.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/entrypoint.sh b/entrypoint.sh index 4a6dd3d..84f0cd1 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -5,8 +5,9 @@ set -e echo "[entrypoint] Starting monitor-ai..." # 启动 MonitorWorker(后台,tsx 即时执行 TypeScript) +# Worker 失败不影响 Next.js 主进程 npx tsx scripts/monitor-worker.ts & -WORKER_PID=$! +WORKER_PID=$! || true # 启动 Next.js standalone server node server.js &