mirror of
https://github.com/thingsboard/thingsboard-gateway
synced 2025-10-26 22:31:42 +08:00
Improvements
This commit is contained in:
@@ -407,7 +407,10 @@ class TBGatewayService:
|
||||
event = self._published_events.get(False, 10)
|
||||
try:
|
||||
if self.tb_client.is_connected() and (self.__remote_configurator is None or not self.__remote_configurator.in_process):
|
||||
success = event.get() == event.TB_ERR_SUCCESS
|
||||
if self.tb_client.client.quality_of_service == 1:
|
||||
success = event.get() == event.TB_ERR_SUCCESS
|
||||
else:
|
||||
success = True
|
||||
else:
|
||||
break
|
||||
except Exception as e:
|
||||
|
||||
Reference in New Issue
Block a user