Skip to content

Commit 4e3ff2c

Browse files
committed
Delete leftover code
This code should have been deleted as part of #11642
1 parent 9d9a69a commit 4e3ff2c

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

deps/rabbitmq_mqtt/src/rabbit_mqtt_reader.erl

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -120,14 +120,6 @@ handle_cast({duplicate_id, SendWill},
120120
rabbit_mqtt_processor:send_disconnect(?RC_SESSION_TAKEN_OVER, PState),
121121
{stop, {shutdown, duplicate_id}, {SendWill, State}};
122122

123-
handle_cast(decommission_node,
124-
State = #state{ proc_state = PState,
125-
conn_name = ConnName }) ->
126-
?LOG_WARNING("MQTT disconnecting client ~tp with client ID '~ts' as its node is about"
127-
" to be decommissioned",
128-
[ConnName, rabbit_mqtt_processor:info(client_id, PState)]),
129-
{stop, {shutdown, decommission_node}, State};
130-
131123
handle_cast({close_connection, Reason},
132124
State = #state{conn_name = ConnName, proc_state = PState}) ->
133125
?LOG_WARNING("MQTT disconnecting client ~tp with client ID '~ts', reason: ~ts",

0 commit comments

Comments
 (0)