Skip to content

Commit 6a92e57

Browse files
Merge pull request #7536 from rabbitmq/mergify/bp/v3.12.x/pr-7535
Fix reached_target_cluster_size() after recent changes (backport #7535)
2 parents 398c956 + f892adf commit 6a92e57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deps/rabbit/src/rabbit_nodes.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -559,7 +559,7 @@ target_cluster_size_hint() ->
559559

560560
-spec reached_target_cluster_size() -> boolean().
561561
reached_target_cluster_size() ->
562-
running_count() >= target_cluster_size_hint().
562+
total_count() >= target_cluster_size_hint().
563563

564564
-spec if_reached_target_cluster_size(ConditionSatisfiedFun :: fun(), ConditionNotSatisfiedFun :: fun()) -> boolean().
565565
if_reached_target_cluster_size(ConditionSatisfiedFun, ConditionNotSatisfiedFun) ->

0 commit comments

Comments
 (0)