add mqtt.cache_acl option
This commit is contained in:
parent
a10cd49441
commit
4af9a47f84
|
@ -88,6 +88,9 @@ mqtt.allow_anonymous = true
|
|||
## Default ACL File
|
||||
mqtt.acl_file = etc/acl.conf
|
||||
|
||||
## Cache ACL for PUBLISH
|
||||
mqtt.cache_acl = true
|
||||
|
||||
##--------------------------------------------------------------------
|
||||
## MQTT Session
|
||||
##--------------------------------------------------------------------
|
||||
|
|
|
@ -280,6 +280,13 @@ end}.
|
|||
hidden
|
||||
]}.
|
||||
|
||||
%% @doc Cache ACL for PUBLISH
|
||||
{mapping, "mqtt.cache_acl", "emqttd.cache_acl", [
|
||||
{default, true},
|
||||
{datatype, {enum, [true, false]}},
|
||||
hidden
|
||||
]}.
|
||||
|
||||
%%--------------------------------------------------------------------
|
||||
%% MQTT Session
|
||||
%%--------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue