chore: update changes
This commit is contained in:
parent
7684cefa86
commit
7afd9d2b06
|
@ -21,7 +21,6 @@
|
||||||
-include_lib("emqx/include/emqx_mqtt.hrl").
|
-include_lib("emqx/include/emqx_mqtt.hrl").
|
||||||
-include_lib("emqx/include/types.hrl").
|
-include_lib("emqx/include/types.hrl").
|
||||||
-include_lib("emqx/include/logger.hrl").
|
-include_lib("emqx/include/logger.hrl").
|
||||||
-include_lib("snabbkaffe/include/snabbkaffe.hrl").
|
|
||||||
|
|
||||||
-export([
|
-export([
|
||||||
info/1,
|
info/1,
|
||||||
|
@ -765,10 +764,10 @@ enrich_clientinfo(InClientInfo = #{proto_name := ProtoName}, ClientInfo) ->
|
||||||
<<>> ->
|
<<>> ->
|
||||||
ok;
|
ok;
|
||||||
Mp ->
|
Mp ->
|
||||||
?tp(
|
?SLOG(
|
||||||
warning,
|
warning,
|
||||||
failed_to_override_mountpoint,
|
|
||||||
#{
|
#{
|
||||||
|
msg => "failed_to_override_mountpoint",
|
||||||
reason =>
|
reason =>
|
||||||
"The mountpoint in AuthenticateRequest has been deprecated. "
|
"The mountpoint in AuthenticateRequest has been deprecated. "
|
||||||
"Please use the `gateway.exproto.mountpoint` configuration.",
|
"Please use the `gateway.exproto.mountpoint` configuration.",
|
||||||
|
|
|
@ -0,0 +1,8 @@
|
||||||
|
Deprecates the `mountpoint` field in `AuthenticateRequest` in ExProto gateway.
|
||||||
|
|
||||||
|
This field was introduced in v4.x, but in fact, in 5.0 we have provided
|
||||||
|
`gateway.exproto.mountpoint` for configuration, so there is no need to override
|
||||||
|
it through the Authenticate request.
|
||||||
|
|
||||||
|
Additionally, updates the default value of `subscriptions_max`, `inflight_max`,
|
||||||
|
`mqueue_max` to `infinity`
|
Loading…
Reference in New Issue