From ee3c06e2548faaa790ac683251488c16b6146046 Mon Sep 17 00:00:00 2001 From: Oleg Nechiporenko Date: Thu, 22 Jun 2023 12:23:42 +0500 Subject: [PATCH] fix: reconnect --- src/services/Aggregator/ws/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/Aggregator/ws/index.ts b/src/services/Aggregator/ws/index.ts index 363cf98..f71b9ac 100644 --- a/src/services/Aggregator/ws/index.ts +++ b/src/services/Aggregator/ws/index.ts @@ -274,7 +274,7 @@ class AggregatorWS { this.isAlive = false; } else { this.logger?.('Heartbeat timeout'); - this.isClosedIntentionally = true; + this.isClosedIntentionally = false; this.ws?.close(4000); } };