Skip to content

Commit

Permalink
docs: add a comment
Browse files Browse the repository at this point in the history
  • Loading branch information
nikolay-komarevskiy committed Aug 26, 2024
1 parent e11334a commit 818ae53
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -615,6 +615,8 @@ mod tests {
node_1.score = 16.0;
node_2.score = 8.0;
node_3.score = 4.0;
// even though the score is high, this node should never be selected as it is unhealthy
node_4.score = 30.0;

snapshot.nodes_with_metrics = vec![node_1, node_2, node_3, node_4];

Expand Down

0 comments on commit 818ae53

Please sign in to comment.