From d36adbeb8bf43694528ff1b02a6624330c912f8c Mon Sep 17 00:00:00 2001 From: Artur Abelian Date: Tue, 26 Nov 2024 12:05:06 +0100 Subject: [PATCH] fix: keep alive needed flag in conn state --- v2/common/websocket/client.go | 1 + 1 file changed, 1 insertion(+) diff --git a/v2/common/websocket/client.go b/v2/common/websocket/client.go index e5b40590..617e59f8 100644 --- a/v2/common/websocket/client.go +++ b/v2/common/websocket/client.go @@ -349,6 +349,7 @@ func NewConnection( lastResponseMu: sync.Mutex{}, initUnderlyingWsConnFn: initUnderlyingWsConnFn, keepaliveTimeout: keepaliveTimeout, + isKeepAliveNeeded: isKeepAliveNeeded, } if isKeepAliveNeeded {