Increase pull request clusterinfo probability (#34231)
* ensure new contactinfo propagated quicker when handling pull requests * improve readability
This commit is contained in:
parent
a0df9def91
commit
0a2ff8525a
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue