remove per program timings from blockstore processor ledger replay (#22370)

This commit is contained in:
carllin 2022-01-08 01:52:08 -05:00 committed by GitHub
parent 81a10e649f
commit 813006b33b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -1128,6 +1128,7 @@ fn load_frozen_forks(
let dev_halt_at_slot = opts.dev_halt_at_slot.unwrap_or(std::u64::MAX);
if root_bank.slot() != dev_halt_at_slot {
while !pending_slots.is_empty() {
timing.details.per_program_timings.clear();
let (meta, bank, last_entry_hash) = pending_slots.pop().unwrap();
let slot = bank.slot();
if last_status_report.elapsed() > Duration::from_secs(2) {