Fix badmatch error in the batch_process of session
This commit is contained in:
parent
36927f01e7
commit
998684fc4e
|
@ -390,7 +390,7 @@ deliver_fun(ConnPid) when node(ConnPid) == node() ->
|
||||||
deliver_fun(ConnPid) ->
|
deliver_fun(ConnPid) ->
|
||||||
Node = node(ConnPid),
|
Node = node(ConnPid),
|
||||||
fun(Packet) ->
|
fun(Packet) ->
|
||||||
emqx_rpc:cast(Node, erlang, send, [ConnPid, {deliver, Packet}])
|
true = emqx_rpc:cast(Node, erlang, send, [ConnPid, {deliver, Packet}]), ok
|
||||||
end.
|
end.
|
||||||
|
|
||||||
handle_call(info, _From, State) ->
|
handle_call(info, _From, State) ->
|
||||||
|
|
Loading…
Reference in New Issue