mirror of
https://github.com/remix-bot/fluxer.git
synced 2026-11-24 06:01:44 -05:00
fix(status): format disconnect reasons, demote incident publication logs, and guard pooled sockets
- Safely format Lavalink disconnect reason objects in Bot.mjs to avoid [object Object] - Demote StatusChannelManager incident publication log from warn to info - Suppress incident publication messages from ErrorChannel telemetry forwarding - Verify Redis bridge readiness in StatusChannelManager dashboard probe when no HTTP port is configured - Prevent duplicate error listeners on pooled keep-alive sockets in HttpStreams
This commit is contained in:
1 parent
5e39679f45
commit
0c8349f44b
5 files changed
+58
-14
No files matched your search
@@ -80,7 +80,10 @@ const HttpStreams = {
|
||||
});
|
||||
|
||||
req.on("socket", (socket) => {
|
||||
socket.on("error", () => {});
|
||||
if (!socket._hasRemixErrorHandler) {
|
||||
socket._hasRemixErrorHandler = true;
|
||||
socket.on("error", () => {});
|
||||
}
|
||||
});
|
||||
req.on("error", reject);
|
||||
req.setTimeout(timeoutMs, () => {
|
||||
@@ -170,7 +173,10 @@ const HttpStreams = {
|
||||
});
|
||||
|
||||
req.on("socket", (socket) => {
|
||||
socket.on("error", () => {});
|
||||
if (!socket._hasRemixErrorHandler) {
|
||||
socket._hasRemixErrorHandler = true;
|
||||
socket.on("error", () => {});
|
||||
}
|
||||
});
|
||||
|
||||
req.on("error", (err) => {
|
||||
|
||||
Reference in new issue
Block a user