fix(stomp): `conn_props` should be map

This commit is contained in:
JimMoen 2022-02-22 11:31:14 +08:00
parent f42c04d6fc
commit 3cc2f0e2d3
1 changed files with 1 additions and 2 deletions

View File

@ -152,7 +152,7 @@ default_conninfo(ConnInfo) ->
clean_start => true, clean_start => true,
clientid => undefined, clientid => undefined,
username => undefined, username => undefined,
conn_props => [], conn_props => #{},
connected => false, connected => false,
connected_at => undefined, connected_at => undefined,
keepalive => undefined, keepalive => undefined,
@ -814,4 +814,3 @@ interval(outgoing_timer, #pstate{heart_beats = HrtBt}) ->
emqx_stomp_heartbeat:interval(outgoing, HrtBt); emqx_stomp_heartbeat:interval(outgoing, HrtBt);
interval(clean_trans_timer, _) -> interval(clean_trans_timer, _) ->
?TRANS_TIMEOUT. ?TRANS_TIMEOUT.