mirror of
https://github.com/spacebarchat/server.git
synced 2026-06-07 17:31:47 +00:00
IPC: shutdown hooks
This commit is contained in:
@@ -100,7 +100,7 @@ export class UnixSocketListener extends BaseEventListener {
|
||||
});
|
||||
socket.on("close", () => {
|
||||
console.log("[UnixSocketListener] Unix socket client disconnected");
|
||||
this.openConnectionsMetric.set(this.server.connections);
|
||||
this.openConnectionsMetric.set(this.server.connections ?? 0);
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user