Threadpool2 (#15151)

* rework thread pool for hash calculation

* rename
This commit is contained in:
Jeff Washington (jwash)
2021-02-05 18:48:16 -06:00
committed by GitHub
parent 3a5c142a9b
commit fbf9dc47e9
4 changed files with 15 additions and 14 deletions

View File

@ -1050,7 +1050,7 @@ fn new_banks_from_ledger(
None,
&snapshot_config.snapshot_package_output_path,
snapshot_config.archive_format,
&bank_forks.root_bank().get_thread_pool(),
Some(&bank_forks.root_bank().get_thread_pool()),
)
.unwrap_or_else(|err| {
error!("Unable to create snapshot: {}", err);