dashboard works

This commit is contained in:
NoLogicAlan committed 2026-05-08 02:40:50 +03:00
1 parent 304691a27a
commit 777c610b55
2 files changed
+357 -77

No files matched your search

+6
View File
@@ -663,4 +663,10 @@ const saveAndExit = async () => {
process.once("SIGINT", saveAndExit);
process.once("SIGTERM", saveAndExit);
process.once("SIGUSR2", saveAndExit);
// ── SIGPIPE handler ──────────────────────────────────────────────────────────
// On some systems, writing to a broken pipe (e.g. Redis connection) raises
// SIGPIPE which defaults to terminating the process. Ignoring it lets the
// error surface through the normal exception/rejection handlers above so
// recovery state is saved before exit.
process.on("SIGPIPE", () => {});