From 658779c28fa6d25d101fde9d54b2edc7fe4fbc95 Mon Sep 17 00:00:00 2001 From: gc87 Date: Wed, 14 Sep 2022 09:53:07 +0800 Subject: [PATCH] refactor(mqtt): improved mqtt schema description --- plugins/mqtt/mqtt.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/mqtt/mqtt.json b/plugins/mqtt/mqtt.json index a1ec4165..a1e4e0bd 100644 --- a/plugins/mqtt/mqtt.json +++ b/plugins/mqtt/mqtt.json @@ -21,7 +21,7 @@ }, "format": { "name": "upload format", - "description": "Upload format on mqtt", + "description": "The json format of the data reported in the upload topic. In the values mode, all items are contained in the values object or the errors object, respectively. In tags mode, all items are contained in an array", "attribute": "optional", "type": "map", "default": 0, @@ -40,7 +40,7 @@ }, "cache": { "name": "cache size(MB)", - "description": "Upload data memory cache", + "description": "The maximum byte limit in MB for the data backlog when an MQTT connection exception occurs", "type": "int", "attribute": "optional", "default": 64,