Merge pull request #138 from orionprotocol/feat/reconnect

fix: reconnect
This commit is contained in:
Oleg Nechiporenko
2023-06-22 12:30:05 +05:00
committed by GitHub

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);
}
};