mirror of
https://github.com/remix-bot/fluxer.git
synced 2026-11-24 06:01:44 -05:00
idk what am doing
This commit is contained in:
1 parent
f9d54a61ef
commit
d00c9fb8a5
8 files changed
+856
-900
No files matched your search
@@ -220,6 +220,8 @@ export class Remix {
|
||||
player: this.playerContext,
|
||||
dashboard: this.dashboard,
|
||||
locale: this.locale,
|
||||
spawnPlayer: this._spawnPlayer,
|
||||
timers: this.T,
|
||||
});
|
||||
this.players.observedVoiceUsers = this.observedVoiceUsers;
|
||||
|
||||
@@ -613,3 +615,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", () => {});
|
||||
Reference in new issue
Block a user