Append integer to solBigTGetBlk threads to uniquify them (#30184)
This commit is contained in:
parent
5569946a8f
commit
55c8963462
|
@ -162,13 +162,13 @@ pub async fn upload_confirmed_blocks(
|
||||||
|
|
||||||
(
|
(
|
||||||
(0..config.num_blocks_to_upload_in_parallel)
|
(0..config.num_blocks_to_upload_in_parallel)
|
||||||
.map(|_| {
|
.map(|i| {
|
||||||
let blockstore = blockstore.clone();
|
let blockstore = blockstore.clone();
|
||||||
let sender = sender.clone();
|
let sender = sender.clone();
|
||||||
let slot_receiver = slot_receiver.clone();
|
let slot_receiver = slot_receiver.clone();
|
||||||
let exit = exit.clone();
|
let exit = exit.clone();
|
||||||
std::thread::Builder::new()
|
std::thread::Builder::new()
|
||||||
.name("solBigTGetBlk".into())
|
.name(format!("solBigTGetBlk{i:02}"))
|
||||||
.spawn(move || {
|
.spawn(move || {
|
||||||
let start = Instant::now();
|
let start = Instant::now();
|
||||||
let mut num_blocks_read = 0;
|
let mut num_blocks_read = 0;
|
||||||
|
|
Loading…
Reference in New Issue