1
0
mirror of https://github.com/thingsboard/thingsboard-gateway synced 2025-10-26 22:31:42 +08:00

Fixed calculating data size and optimized MQTT Connector

This commit is contained in:
samson0v
2022-07-22 13:17:47 +03:00
parent 5a1ef00005
commit c0d9c388c2
2 changed files with 200 additions and 180 deletions

View File

@@ -697,7 +697,7 @@ class TBGatewayService:
@staticmethod
def __get_data_size(data: dict):
return getsizeof(str(data))
return getsizeof(data)
@staticmethod
def __convert_telemetry_to_ts(data):