From 5e26b055979795f9faf879fdc1070054d0b3bfd6 Mon Sep 17 00:00:00 2001 From: Brooks Date: Thu, 31 Aug 2023 15:29:12 -0400 Subject: [PATCH] Removes the "unpacked entries so far" log at startup (#33093) --- accounts-db/src/hardened_unpack.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/accounts-db/src/hardened_unpack.rs b/accounts-db/src/hardened_unpack.rs index 0cba53c5a1..4d99f93ae9 100644 --- a/accounts-db/src/hardened_unpack.rs +++ b/accounts-db/src/hardened_unpack.rs @@ -103,7 +103,6 @@ where let mut total_count: u64 = 0; let mut total_entries = 0; - let mut last_log_update = Instant::now(); for entry in archive.entries()? { let mut entry = entry?; let path = entry.path()?; @@ -189,11 +188,6 @@ where entry_processor(entry_path); total_entries += 1; - let now = Instant::now(); - if now.duration_since(last_log_update).as_secs() >= 10 { - info!("unpacked {} entries so far...", total_entries); - last_log_update = now; - } } info!("unpacked {} entries total", total_entries);