Skip to content

Commit 07317fc

Browse files
Merge pull request #7535 from rabbitmq/fix-cluster-hint
Fix reached_target_cluster_size() after recent changes
2 parents 4c602b7 + 87c688b commit 07317fc

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)