Skip to content

Commit

Permalink
Remove the extra purge calls
Browse files Browse the repository at this point in the history
  • Loading branch information
xiangzhu70 committed Apr 13, 2023
1 parent fe52ee6 commit c23f115
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions runtime/src/snapshot_utils.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2906,11 +2906,9 @@ pub fn purge_old_bank_snapshots(
match type_select {
Some(BankSnapshotType::Pre) => {
select_pre = true;
do_purge(get_bank_snapshots_pre(&bank_snapshots_dir));
}
Some(BankSnapshotType::Post) => {
select_post = true;
do_purge(get_bank_snapshots_post(&bank_snapshots_dir));
}
None => {
select_pre = true;
Expand Down

0 comments on commit c23f115

Please sign in to comment.