Skip to content

Commit 886f199

Browse files
Merge branch 'stable'
2 parents 6719f47 + 139d515 commit 886f199

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

src/rabbit.erl

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,7 @@ stop() ->
471471
undefined -> ok;
472472
_ ->
473473
rabbit_log:info("RabbitMQ hasn't finished starting yet. Waiting for startup to finish before stopping..."),
474-
wait_to_finish_booting()
474+
wait_for_boot_to_finish()
475475
end,
476476
rabbit_log:info("RabbitMQ is asked to stop...~n", []),
477477
Apps = ?APPS ++ rabbit_plugins:active(),
@@ -642,31 +642,31 @@ handle_app_error(Term) ->
642642

643643
await_startup() ->
644644
case is_booting() of
645-
true -> wait_to_finish_booting();
645+
true -> wait_for_boot_to_finish();
646646
false ->
647647
case is_running() of
648648
true -> ok;
649-
false -> wait_to_start_booting(),
650-
wait_to_finish_booting()
649+
false -> wait_for_boot_to_start(),
650+
wait_for_boot_to_finish()
651651
end
652652
end.
653653

654654
is_booting() ->
655655
whereis(rabbit_boot) /= undefined.
656656

657-
wait_to_start_booting() ->
657+
wait_for_boot_to_start() ->
658658
case whereis(rabbit_boot) of
659659
undefined -> timer:sleep(100),
660-
wait_to_start_booting();
660+
wait_for_boot_to_start();
661661
_ -> ok
662662
end.
663663

664-
wait_to_finish_booting() ->
664+
wait_for_boot_to_finish() ->
665665
case whereis(rabbit_boot) of
666666
undefined -> true = is_running(),
667667
ok;
668668
_ -> timer:sleep(100),
669-
wait_to_finish_booting()
669+
wait_for_boot_to_finish()
670670
end.
671671

672672
status() ->

0 commit comments

Comments
 (0)