typos (#30604)
This commit is contained in:
parent
2d88c2a646
commit
8a1c7614f1
|
@ -88,7 +88,7 @@ fn bench_retransmitter(bencher: &mut Bencher) {
|
||||||
|
|
||||||
let leader_schedule_cache = Arc::new(LeaderScheduleCache::new_from_bank(&bank));
|
let leader_schedule_cache = Arc::new(LeaderScheduleCache::new_from_bank(&bank));
|
||||||
|
|
||||||
// To work reliably with higher values, this needs larger udp rmem size
|
// To work reliably with higher values, this needs larger udp mem size
|
||||||
let entries: Vec<_> = (0..5)
|
let entries: Vec<_> = (0..5)
|
||||||
.map(|_| {
|
.map(|_| {
|
||||||
let keypair0 = Keypair::new();
|
let keypair0 = Keypair::new();
|
||||||
|
|
|
@ -320,7 +320,7 @@ impl RepairService {
|
||||||
// correct version.
|
// correct version.
|
||||||
for (slot, _correct_hash) in slot_hash_keys_to_dump {
|
for (slot, _correct_hash) in slot_hash_keys_to_dump {
|
||||||
// `slot` is dumped in blockstore wanting to be repaired, we orphan it along with
|
// `slot` is dumped in blockstore wanting to be repaired, we orphan it along with
|
||||||
// descendants while copying the weighting heurstic so that it can be
|
// descendants while copying the weighting heuristic so that it can be
|
||||||
// repaired with correct ancestor information
|
// repaired with correct ancestor information
|
||||||
repair_weight.split_off(slot);
|
repair_weight.split_off(slot);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue