Removes the "unpacked entries so far" log at startup (#33093)

This commit is contained in:
Brooks 2023-08-31 15:29:12 -04:00 committed by GitHub
parent 6d2dae6ab0
commit 5e26b05597
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 6 deletions

View File

@ -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);