Skip to content
This repository was archived by the owner on Jan 22, 2025. It is now read-only.

Commit a55711d

Browse files
mergify[bot]Greg Cusack
andauthored
v1.17: Increase pull request clusterinfo probability (backport of #34231) (#34262)
Increase pull request clusterinfo probability (#34231) * ensure new contactinfo propagated quicker when handling pull requests * improve readability (cherry picked from commit 0a2ff85) Co-authored-by: Greg Cusack <[email protected]>
1 parent d353453 commit a55711d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

gossip/src/cluster_info.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2078,7 +2078,7 @@ impl ClusterInfo {
20782078
score
20792079
};
20802080
let score = match response.data {
2081-
CrdsData::LegacyContactInfo(_) => 2 * score,
2081+
CrdsData::LegacyContactInfo(_) | CrdsData::ContactInfo(_) => 2 * score,
20822082
_ => score,
20832083
};
20842084
((addr, response), score)

0 commit comments

Comments
 (0)