summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/rabbit_mirror_queue_slave.erl3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/rabbit_mirror_queue_slave.erl b/src/rabbit_mirror_queue_slave.erl
index ee8c7f9d26..f1f48dd871 100644
--- a/src/rabbit_mirror_queue_slave.erl
+++ b/src/rabbit_mirror_queue_slave.erl
@@ -233,9 +233,6 @@ handle_call({gm_deaths, DeadGMPids}, From,
gen_server2:reply(From, ok),
{stop, normal, State};
{error, {not_synced, SPids}} ->
- WaitTimeout = rabbit_misc:get_env(rabbit, slave_wait_timeout, 15000),
- rabbit_mirror_queue_misc:stop_all_slaves(
- {error, not_synced}, SPids, QName, GM, WaitTimeout),
BQ:delete_and_terminate({error, not_synced}, BQS),
{stop, normal, State#state{backing_queue_state = undefined}};
{ok, Pid, DeadPids, ExtraNodes} ->