fix: reconnect

This commit is contained in:
Oleg Nechiporenko
2023-06-22 12:23:42 +05:00
parent 3d4fea42ea
commit ee3c06e254

View File

@@ -274,7 +274,7 @@ class AggregatorWS {
this.isAlive = false;
} else {
this.logger?.('Heartbeat timeout');
this.isClosedIntentionally = true;
this.isClosedIntentionally = false;
this.ws?.close(4000);
}
};