Skip to content

Commit 4ee75a9

Browse files
committed
Tau - initiate kill switch on any unexpected TCP comms from Daemon
(including the connection closing)
1 parent 119363b commit 4ee75a9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/server/beam/tau/src/tau_server/tau_keepalive.erl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ loop(KillSwitch) ->
5555
end;
5656
trigger_kill_switch ->
5757
logger:info("Tau kill switch activated. Shutting down....", []),
58-
init:stop();
58+
halt();
5959
Any ->
6060
logger:error("Tau keepalive received unexpected message: ~p", [Any]),
61-
?MODULE:loop(KillSwitch)
61+
init:stop()
6262
end.

0 commit comments

Comments
 (0)