fix: mqtt connector disable bridge_mode
This commit is contained in:
parent
bcac65310b
commit
637b81ec18
|
@ -241,7 +241,10 @@ basic_config(#{
|
||||||
connect_timeout => 30,
|
connect_timeout => 30,
|
||||||
reconnect_interval => ReconnIntv,
|
reconnect_interval => ReconnIntv,
|
||||||
proto_ver => ProtoVer,
|
proto_ver => ProtoVer,
|
||||||
bridge_mode => true,
|
%% If haporxy enables mqtt connection packet checking,
|
||||||
|
%% then using bridge_mode will directly cause the connection to fail.
|
||||||
|
%% Let's disable bridge_mode.
|
||||||
|
bridge_mode => false,
|
||||||
username => User,
|
username => User,
|
||||||
password => Password,
|
password => Password,
|
||||||
clean_start => CleanStart,
|
clean_start => CleanStart,
|
||||||
|
|
Loading…
Reference in New Issue