Merge branch 'master' into fix/instance-assign-failure

This commit is contained in:
Cooldude2606 authored and GitHub committed 2026-09-13 14:04:45 +01:00
commit 3c692c4321
2 files changed
+57 -3

No files matched your search

+4 -1
View File
@@ -53,7 +53,7 @@ export default class ControlConnection extends BaseConnection {
});
this.connector.on("close", () => {
if (this.logTransport) {
logger.remove(this.logTransport);
this._controller.clusterLogger.remove(this.logTransport);
this.logTransport = null;
}
if (this.ws_dumper) {
@@ -1328,6 +1328,9 @@ export default class ControlConnection extends BaseConnection {
}
async handleDebugDumpWsRequest(request: lib.DebugDumpWsRequest) {
if (this.ws_dumper) {
return; // Already dumping
}
this.ws_dumper = data => {
if (this.connector.connected) {
this.send(new lib.DebugWsMessageEvent(data.direction, data.content));