From 221bb5beb7a7159145b82fe6255e98b9a3afe8b0 Mon Sep 17 00:00:00 2001 From: narawat lamaiin Date: Mon, 9 Jun 2025 06:34:29 +0700 Subject: [PATCH] update --- src/communication.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/communication.jl b/src/communication.jl index 31c6852..e47b905 100644 --- a/src/communication.jl +++ b/src/communication.jl @@ -441,7 +441,7 @@ function checkMqttConnection!(mqttInstance::T; subscribe(mqttInstance.client, topic, mqttInstance.onMsgCallback, qos=mqttInstance.qos) end MQTTClient.subscribe(mqttInstance.client, mqttInstance.keepalivetopic, mqttInstance.onMsgCallback, qos=mqttInstance.qos) - sleep(1) # wait before checking connection again + sleep(10) # wait before check connection again else mqttInstance.lastTimeMqttConnCheck = Dates.now() if isreconnect