From 424f47061d732ab6d710240832996ac3961f9fa9 Mon Sep 17 00:00:00 2001 From: lucas Date: Thu, 10 Apr 2025 13:35:57 +0800 Subject: [PATCH] =?UTF-8?q?update=20=E5=87=8F=E5=B0=91=E4=B8=8A=E6=8A=A5?= =?UTF-8?q?=E5=BB=B6=E6=97=B6=EF=BC=8C=E5=87=8F=E5=B0=91=E9=87=8D=E5=A4=8D?= =?UTF-8?q?=E9=AB=98=E7=9A=84=E6=97=A5=E5=BF=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- consumers/consumerJSNCGLQL.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/consumers/consumerJSNCGLQL.go b/consumers/consumerJSNCGLQL.go index 4058b4e..5952e5b 100644 --- a/consumers/consumerJSNCGLQL.go +++ b/consumers/consumerJSNCGLQL.go @@ -73,18 +73,15 @@ func (the *consumerJSNCGLQL) Work() { for _, outTopic := range the.Info.IoConfig.Out.Mqtt.Topics { for _, push := range needPushs { - log.Printf("推送[%s]: len=%d", outTopic, len(push.Payload)) //hex.EncodeToString(pushBytes) if push.Topic != "" { outTopic = push.Topic } - the.outMqtt.Publish(outTopic, push.Payload) - } } - time.Sleep(5 * time.Millisecond) + time.Sleep(2 * time.Millisecond) } }() }