Correct misleading comments for repair test (#31844)

* Correct misleading comments for repair test
This commit is contained in:
Lijun Wang 2023-05-31 13:23:23 -07:00 committed by GitHub
parent debe794987
commit 944310b751
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 4 deletions

View File

@ -1242,15 +1242,13 @@ mod test {
blockstore.insert_bank_hash(duplicate_confirmed_slot, hash, true); blockstore.insert_bank_hash(duplicate_confirmed_slot, hash, true);
} }
// Set up response threads // Set up repair request receiver threads
let t_request_receiver = streamer::receiver( let t_request_receiver = streamer::receiver(
Arc::new(responder_node.sockets.serve_repair), Arc::new(responder_node.sockets.serve_repair),
exit.clone(), exit.clone(),
requests_sender, requests_sender,
Recycler::default(), Recycler::default(),
Arc::new(StreamerReceiveStats::new( Arc::new(StreamerReceiveStats::new("repair_request_receiver")),
"ancestor_hashes_response_receiver",
)),
Duration::from_millis(1), // coalesce Duration::from_millis(1), // coalesce
false, false,
None, None,