mirror of
https://github.com/thingsboard/thingsboard-gateway
synced 2025-10-26 22:31:42 +08:00
Fix for unintialized gateway main loop messages processing
This commit is contained in:
@@ -1038,7 +1038,7 @@ class TBGatewayService:
|
||||
data["deviceName"] = "currentThingsBoardGateway"
|
||||
data['deviceType'] = "gateway"
|
||||
|
||||
if self.__check_devices_idle:
|
||||
if hasattr(self, "__check_devices_idle") and self.__check_devices_idle:
|
||||
self.__connected_devices[data['deviceName']]['last_receiving_data'] = time()
|
||||
|
||||
data = self.__convert_telemetry_to_ts(data)
|
||||
|
||||
Reference in New Issue
Block a user