@@ -471,7 +471,7 @@ stop() ->
471
471
undefined -> ok ;
472
472
_ ->
473
473
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 ()
475
475
end ,
476
476
rabbit_log :info (" RabbitMQ is asked to stop...~n " , []),
477
477
Apps = ? APPS ++ rabbit_plugins :active (),
@@ -642,31 +642,31 @@ handle_app_error(Term) ->
642
642
643
643
await_startup () ->
644
644
case is_booting () of
645
- true -> wait_to_finish_booting ();
645
+ true -> wait_for_boot_to_finish ();
646
646
false ->
647
647
case is_running () of
648
648
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 ()
651
651
end
652
652
end .
653
653
654
654
is_booting () ->
655
655
whereis (rabbit_boot ) /= undefined .
656
656
657
- wait_to_start_booting () ->
657
+ wait_for_boot_to_start () ->
658
658
case whereis (rabbit_boot ) of
659
659
undefined -> timer :sleep (100 ),
660
- wait_to_start_booting ();
660
+ wait_for_boot_to_start ();
661
661
_ -> ok
662
662
end .
663
663
664
- wait_to_finish_booting () ->
664
+ wait_for_boot_to_finish () ->
665
665
case whereis (rabbit_boot ) of
666
666
undefined -> true = is_running (),
667
667
ok ;
668
668
_ -> timer :sleep (100 ),
669
- wait_to_finish_booting ()
669
+ wait_for_boot_to_finish ()
670
670
end .
671
671
672
672
status () ->
0 commit comments