periodically save config in separate folders
This commit is contained in:
committed by
Michael Vines
parent
07c183bb84
commit
8b41a5d725
@ -166,7 +166,7 @@ impl BankForks {
|
||||
for slot in diff.iter() {
|
||||
if **slot > root {
|
||||
let _ = self.add_snapshot(**slot, root);
|
||||
} else if **slot > 0 {
|
||||
} else {
|
||||
BankForks::remove_snapshot(**slot, &self.snapshot_path);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user