tres/message_handler_sup: Removed disconnected message
This commit is contained in:
parent
dfba6b5326
commit
bc4e18a411
1 changed files with 0 additions and 7 deletions
|
|
@ -36,13 +36,6 @@ defmodule Tres.ExampleHandler do
|
||||||
{:noreply, state}
|
{:noreply, state}
|
||||||
end
|
end
|
||||||
|
|
||||||
def handle_info({:switch_disconnected, reason}, state) do
|
|
||||||
:ok =
|
|
||||||
warn("[#{__MODULE__}] Switch Disconnected: datapath_id: #{state.datapath_id} by #{reason}")
|
|
||||||
|
|
||||||
{:stop, :normal, state}
|
|
||||||
end
|
|
||||||
|
|
||||||
def handle_info({:switch_hang, _datapath_id}, state) do
|
def handle_info({:switch_hang, _datapath_id}, state) do
|
||||||
:ok = warn("[#{__MODULE__}] Switch possible hang: datapath_id: #{state.datapath_id}")
|
:ok = warn("[#{__MODULE__}] Switch possible hang: datapath_id: #{state.datapath_id}")
|
||||||
{:noreply, state}
|
{:noreply, state}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue