Skip to content

Commit

Permalink
Delete leftover code
Browse files Browse the repository at this point in the history
This code should have been deleted as part of
#11642
  • Loading branch information
ansd committed Jul 30, 2024
1 parent 9d9a69a commit 4e3ff2c
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions deps/rabbitmq_mqtt/src/rabbit_mqtt_reader.erl
Original file line number Diff line number Diff line change
Expand Up @@ -120,14 +120,6 @@ handle_cast({duplicate_id, SendWill},
rabbit_mqtt_processor:send_disconnect(?RC_SESSION_TAKEN_OVER, PState),
{stop, {shutdown, duplicate_id}, {SendWill, State}};

handle_cast(decommission_node,
State = #state{ proc_state = PState,
conn_name = ConnName }) ->
?LOG_WARNING("MQTT disconnecting client ~tp with client ID '~ts' as its node is about"
" to be decommissioned",
[ConnName, rabbit_mqtt_processor:info(client_id, PState)]),
{stop, {shutdown, decommission_node}, State};

handle_cast({close_connection, Reason},
State = #state{conn_name = ConnName, proc_state = PState}) ->
?LOG_WARNING("MQTT disconnecting client ~tp with client ID '~ts', reason: ~ts",
Expand Down

0 comments on commit 4e3ff2c

Please # to comment.