add metrics to handle_snapshot_requests (#17937)

This commit is contained in:
Jeff Washington (jwash)
2021-06-14 15:46:19 -05:00
committed by GitHub
parent a0872232d3
commit e6bbd4b3f0
2 changed files with 91 additions and 70 deletions

View File

@ -222,7 +222,7 @@ mod tests {
// set_root should send a snapshot request
bank_forks.set_root(bank.slot(), &request_sender, None);
bank.update_accounts_hash();
snapshot_request_handler.handle_snapshot_requests(false, false, false);
snapshot_request_handler.handle_snapshot_requests(false, false, false, 0);
}
}