@@ -436,7 +436,7 @@ stop() ->
436
436
undefined -> ok ;
437
437
_ ->
438
438
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 ()
440
440
end ,
441
441
rabbit_log :info (" RabbitMQ is asked to stop...~n " , []),
442
442
Apps = ? APPS ++ rabbit_plugins :active (),
@@ -605,31 +605,31 @@ handle_app_error(Term) ->
605
605
606
606
await_startup () ->
607
607
case is_booting () of
608
- true -> wait_to_finish_booting ();
608
+ true -> wait_for_boot_to_finish ();
609
609
false ->
610
610
case is_running () of
611
611
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 ()
614
614
end
615
615
end .
616
616
617
617
is_booting () ->
618
618
whereis (rabbit_boot ) /= undefined .
619
619
620
- wait_to_start_booting () ->
620
+ wait_for_boot_to_start () ->
621
621
case whereis (rabbit_boot ) of
622
622
undefined -> timer :sleep (100 ),
623
- wait_to_start_booting ();
623
+ wait_for_boot_to_start ();
624
624
_ -> ok
625
625
end .
626
626
627
- wait_to_finish_booting () ->
627
+ wait_for_boot_to_finish () ->
628
628
case whereis (rabbit_boot ) of
629
629
undefined -> true = is_running (),
630
630
ok ;
631
631
_ -> timer :sleep (100 ),
632
- wait_to_finish_booting ()
632
+ wait_for_boot_to_finish ()
633
633
end .
634
634
635
635
status () ->
0 commit comments