use thread pool for non-index hash calculations (#15149)

This commit is contained in:
Jeff Washington (jwash)
2021-02-05 13:48:55 -06:00
committed by GitHub
parent 6fd5ec0e4c
commit fabecdc86c
7 changed files with 54 additions and 11 deletions

View File

@@ -1933,6 +1933,7 @@ fn main() {
Some(snapshot_version),
output_directory,
ArchiveFormat::TarZstd,
&bank.get_thread_pool(),
)
.unwrap_or_else(|err| {
eprintln!("Unable to create snapshot: {}", err);