Skip to content

Commit 8cb74a2

Browse files
committed
WIP
1 parent e778f71 commit 8cb74a2

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

deps/rabbit/src/rabbit.erl

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -542,10 +542,9 @@ handle_app_error(Term) ->
542542
is_booting() -> is_booting(node()).
543543

544544
is_booting(Node) when Node =:= node() ->
545-
case rabbit_boot_state:get() of
546-
booting -> true;
547-
_ -> false
548-
end;
545+
rabbit_boot_state:has_reached_and_is_active(booting)
546+
andalso
547+
not rabbit_boot_state:has_reached(ready);
549548
is_booting(Node) ->
550549
case rpc:call(Node, rabbit, is_booting, []) of
551550
{badrpc, _} = Err -> Err;

0 commit comments

Comments
 (0)