SYNC: health status

This commit is contained in:
SPRINX0\prochazka
2025-03-17 13:55:58 +01:00
committed by Diflow
parent d5f8e01dd8
commit 3bb4652a49
5 changed files with 40 additions and 0 deletions

View File

@@ -127,6 +127,9 @@ module.exports = {
this.dispatchMessage(sesid, 'Query session closed');
socket.emit(`session-closed-${sesid}`);
});
subprocess.on('error', () => {
this.opened = this.opened.filter(x => x.sesid != sesid);
});
subprocess.send({
msgtype: 'connect',