Skip to content

Commit

Permalink
Adds documentation to verify_and_unarchive_snapshots() (#34020)
Browse files Browse the repository at this point in the history
  • Loading branch information
brooksprumo authored Nov 10, 2023
1 parent b525699 commit 60d267a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions runtime/src/snapshot_utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1230,6 +1230,7 @@ pub struct BankFromDirTimings {
// From testing, 4 seems to be a sweet spot for ranges of 60M-360M accounts and 16-64 cores. This may need to be tuned later.
const PARALLEL_UNTAR_READERS_DEFAULT: usize = 4;

/// Unarchives the given full and incremental snapshot archives, as long as they are compatible.
pub fn verify_and_unarchive_snapshots(
bank_snapshots_dir: impl AsRef<Path>,
full_snapshot_archive_info: &FullSnapshotArchiveInfo,
Expand Down

0 comments on commit 60d267a

Please sign in to comment.