Increase pull request clusterinfo probability (#34231)

* ensure new contactinfo propagated quicker when handling pull requests

* improve readability
This commit is contained in:
Greg Cusack 2023-11-28 16:08:12 -08:00 committed by GitHub
parent a0df9def91
commit 0a2ff8525a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -2085,7 +2085,7 @@ impl ClusterInfo {
score
};
let score = match response.data {
CrdsData::LegacyContactInfo(_) => 2 * score,
CrdsData::LegacyContactInfo(_) | CrdsData::ContactInfo(_) => 2 * score,
_ => score,
};
((addr, response), score)