Skip to content

Commit 9d12f0e

Browse files
committed
Check tpic2 connection still works on KeepAlive msg
1 parent 25be4f5 commit 9d12f0e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/tpic2/src/tpic2_tls.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ loop(State=#{parent:=Parent, socket:=Socket, transport:=Transport, opts:=_Opts,
164164
?LOG_ERROR("Received stray message ~p.~n", [Msg]),
165165
?MODULE:loop(State)
166166
after 10000 -> %to avoid killing on code change
167-
send_msg(#{null=><<"KA">>},State),
167+
ok=send_msg(#{null=><<"KA">>},State),
168168
?MODULE:loop(State)
169169
end.
170170

0 commit comments

Comments
 (0)