We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 05b6d5c commit 3096ad3Copy full SHA for 3096ad3
components/hord-cli/src/db/mod.rs
@@ -2295,12 +2295,12 @@ pub async fn rebuild_rocks_db(
2295
2296
let mut block_heights = VecDeque::from((start_block..=end_block).collect::<Vec<u64>>());
2297
2298
- for _ in 0..hord_config.network_thread_max {
+ for _ in 0..4 {
2299
if let Some(block_height) = block_heights.pop_front() {
2300
let config = moved_config.clone();
2301
let ctx = moved_ctx.clone();
2302
let http_client = moved_http_client.clone();
2303
- sleep(Duration::from_millis(200));
+ sleep(Duration::from_millis(500));
2304
set.spawn(try_download_block_bytes_with_retry(
2305
http_client,
2306
block_height,
0 commit comments