From 6c6a4a0ded0ecc37010d4a40518694db2806f189 Mon Sep 17 00:00:00 2001 From: Nikolay Pavlovich Date: Thu, 7 Jul 2022 17:29:43 +0300 Subject: [PATCH] Update recws.go --- recws.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recws.go b/recws.go index 83482bb..4b6aebe 100644 --- a/recws.go +++ b/recws.go @@ -409,7 +409,7 @@ func (rc *RecConn) keepAlive() { } <-ticker.C - timeoutOffset := time.Millisecond * 10 + timeoutOffset := time.Millisecond * 50 if time.Since(keepAliveResponse.getLastResponse()) > rc.getKeepAliveTimeout()+timeoutOffset { rc.CloseAndReconnect() return