Skip to content

Commit 87c688b

Browse files
committed
Fix reached_target_cluster_size() after recent changes
1 parent 4c602b7 commit 87c688b

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)