From 5f2b5b55f4c8e47f59d0bd5293bfa0451e12b58b Mon Sep 17 00:00:00 2001 From: lijun Date: Thu, 23 Jan 2025 22:43:20 +0800 Subject: [PATCH] =?UTF-8?q?=E8=8E=B7=E5=8F=96=E5=BD=93=E5=89=8D=E5=B8=A7by?= =?UTF-8?q?tes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- handler/tool.go | 1 + 1 file changed, 1 insertion(+) diff --git a/handler/tool.go b/handler/tool.go index c1f2d91..89604eb 100644 --- a/handler/tool.go +++ b/handler/tool.go @@ -240,6 +240,7 @@ func subscribeAndHandleMessagesV3(ws *websocket.Conn, deviceId int) { } } } + buf = nil time.Sleep(100 * time.Millisecond) tCount++ }