Remove chatty 'setting snapshot root:' info log (#9122)
This commit is contained in:
@ -193,10 +193,6 @@ impl BankForks {
|
|||||||
if bank.block_height() % (config.snapshot_interval_slots as u64) == 0 {
|
if bank.block_height() % (config.snapshot_interval_slots as u64) == 0 {
|
||||||
// Generate a snapshot if snapshots are configured and it's been an appropriate number
|
// Generate a snapshot if snapshots are configured and it's been an appropriate number
|
||||||
// of banks since the last snapshot
|
// of banks since the last snapshot
|
||||||
info!(
|
|
||||||
"setting snapshot root: {} interval: {}",
|
|
||||||
bank_slot, config.snapshot_interval_slots
|
|
||||||
);
|
|
||||||
if bank_slot > self.last_snapshot_slot {
|
if bank_slot > self.last_snapshot_slot {
|
||||||
bank.squash();
|
bank.squash();
|
||||||
is_root_bank_squashed = bank_slot == root;
|
is_root_bank_squashed = bank_slot == root;
|
||||||
|
Reference in New Issue
Block a user