Add heapsnapshot-signal

This commit is contained in:
Stephen Zhou
2026-03-02 19:57:16 +08:00
parent 097f10d920
commit cf58035fa2

View File

@@ -43,4 +43,4 @@ export NEXT_PUBLIC_MAX_PARALLEL_LIMIT=${MAX_PARALLEL_LIMIT}
export NEXT_PUBLIC_MAX_ITERATIONS_NUM=${MAX_ITERATIONS_NUM}
export NEXT_PUBLIC_MAX_TREE_DEPTH=${MAX_TREE_DEPTH}
pm2 start /app/web/server.js --name dify-web --cwd /app/web -i ${PM2_INSTANCES} --no-daemon
node --heapsnapshot-signal=SIGUSR2 /app/web/server.js