Change the datatype of 'enable_stats' to 'flag'
This commit is contained in:
parent
3cdf2377c8
commit
ff60578a7d
|
@ -113,8 +113,8 @@ mqtt.max_packet_size = 64KB
|
||||||
## Client Idle Timeout (Second)
|
## Client Idle Timeout (Second)
|
||||||
mqtt.client.idle_timeout = 30s
|
mqtt.client.idle_timeout = 30s
|
||||||
|
|
||||||
## Enable client Stats: seconds or off
|
## Enable client Stats: on | off
|
||||||
mqtt.client.enable_stats = off
|
mqtt.client.enable_stats = on
|
||||||
|
|
||||||
##--------------------------------------------------------------------
|
##--------------------------------------------------------------------
|
||||||
## MQTT Session
|
## MQTT Session
|
||||||
|
@ -136,8 +136,8 @@ mqtt.session.max_awaiting_rel = 100
|
||||||
## Awaiting PUBREL Timeout
|
## Awaiting PUBREL Timeout
|
||||||
mqtt.session.await_rel_timeout = 20s
|
mqtt.session.await_rel_timeout = 20s
|
||||||
|
|
||||||
## Enable Statistics at the Interval(seconds)
|
## Enable Statistics: on | off
|
||||||
mqtt.session.enable_stats = off
|
mqtt.session.enable_stats = on
|
||||||
|
|
||||||
## Expired after 1 day:
|
## Expired after 1 day:
|
||||||
## w - week
|
## w - week
|
||||||
|
|
|
@ -329,7 +329,7 @@ end}.
|
||||||
%% @doc Enable Stats of Client.
|
%% @doc Enable Stats of Client.
|
||||||
{mapping, "mqtt.client.enable_stats", "emqttd.client", [
|
{mapping, "mqtt.client.enable_stats", "emqttd.client", [
|
||||||
{default, off},
|
{default, off},
|
||||||
{datatype, [{duration, ms}, flag]}
|
{datatype, flag}
|
||||||
]}.
|
]}.
|
||||||
|
|
||||||
%% @doc Client
|
%% @doc Client
|
||||||
|
@ -375,7 +375,7 @@ end}.
|
||||||
%% @doc Enable Stats
|
%% @doc Enable Stats
|
||||||
{mapping, "mqtt.session.enable_stats", "emqttd.session", [
|
{mapping, "mqtt.session.enable_stats", "emqttd.session", [
|
||||||
{default, off},
|
{default, off},
|
||||||
{datatype, [{duration, ms}, flag]}
|
{datatype, flag}
|
||||||
]}.
|
]}.
|
||||||
|
|
||||||
%% @doc Session Expiry Interval
|
%% @doc Session Expiry Interval
|
||||||
|
|
Loading…
Reference in New Issue