Skip to content

Commit 139d515

Browse files
Naming
per discussion with @gerhard.
1 parent de2843d commit 139d515

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
@@ -436,7 +436,7 @@ stop() ->
436436
undefined -> ok;
437437
_ ->
438438
rabbit_log:info("RabbitMQ hasn't finished starting yet. Waiting for startup to finish before stopping..."),
439-
wait_to_finish_booting()
439+
wait_for_boot_to_finish()
440440
end,
441441
rabbit_log:info("RabbitMQ is asked to stop...~n", []),
442442
Apps = ?APPS ++ rabbit_plugins:active(),
@@ -605,31 +605,31 @@ handle_app_error(Term) ->
605605

606606
await_startup() ->
607607
case is_booting() of
608-
true -> wait_to_finish_booting();
608+
true -> wait_for_boot_to_finish();
609609
false ->
610610
case is_running() of
611611
true -> ok;
612-
false -> wait_to_start_booting(),
613-
wait_to_finish_booting()
612+
false -> wait_for_boot_to_start(),
613+
wait_for_boot_to_finish()
614614
end
615615
end.
616616

617617
is_booting() ->
618618
whereis(rabbit_boot) /= undefined.
619619

620-
wait_to_start_booting() ->
620+
wait_for_boot_to_start() ->
621621
case whereis(rabbit_boot) of
622622
undefined -> timer:sleep(100),
623-
wait_to_start_booting();
623+
wait_for_boot_to_start();
624624
_ -> ok
625625
end.
626626

627-
wait_to_finish_booting() ->
627+
wait_for_boot_to_finish() ->
628628
case whereis(rabbit_boot) of
629629
undefined -> true = is_running(),
630630
ok;
631631
_ -> timer:sleep(100),
632-
wait_to_finish_booting()
632+
wait_for_boot_to_finish()
633633
end.
634634

635635
status() ->

0 commit comments

Comments
 (0)