Skip to content

Commit

Permalink
Disable eager rent collection for less noise (#13275) (#13279)
Browse files Browse the repository at this point in the history
(cherry picked from commit 363c148)

Co-authored-by: Ryo Onodera <ryoqun@gmail.com>
  • Loading branch information
mergify[bot] and ryoqun authored Oct 29, 2020
1 parent 428cacf commit 9f58a03
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ledger-tool/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2014,6 +2014,9 @@ fn main() {
let next_epoch = base_bank
.epoch_schedule()
.get_first_slot_in_epoch(warp_epoch);
base_bank
.lazy_rent_collection
.store(true, std::sync::atomic::Ordering::Relaxed);
let warped_bank =
Bank::new_from_parent(&base_bank, base_bank.collector_id(), next_epoch);
warped_bank.freeze();
Expand Down

0 comments on commit 9f58a03

Please sign in to comment.