fix
This commit is contained in:
parent
9d97efd915
commit
4a0eaa62bd
@ -18,7 +18,7 @@ start_link(Transport, Peer) ->
|
||||
loop(Transport = {udp, Server, _Sock}, Peer) ->
|
||||
receive
|
||||
{datagram, Server, <<Len:16, HostUUID:Len/binary>>} ->
|
||||
lager:debug("[iot_udp_server] peer: ~p, get heartbeat of: ~p", [esockd:format(Peer), HostUUID]),
|
||||
lager:debug("[iot_udp_handler] peer: ~p, get heartbeat of: ~p", [esockd:format(Peer), HostUUID]),
|
||||
Pid = iot_host:get_pid(HostUUID),
|
||||
iot_host:heartbeat(Pid),
|
||||
loop(Transport, Peer);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user