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:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user