Log the number of accounts each 250k txes (#1178)
This commit is contained in:
@ -494,6 +494,10 @@ impl Bank {
|
||||
);
|
||||
}
|
||||
}
|
||||
let cur_tx_count = self.transaction_count.load(Ordering::Relaxed);
|
||||
if ((cur_tx_count + tx_count) & !(262144 - 1)) > cur_tx_count & !(262144 - 1) {
|
||||
info!("accounts.len: {}", accounts.len());
|
||||
}
|
||||
self.transaction_count
|
||||
.fetch_add(tx_count, Ordering::Relaxed);
|
||||
res
|
||||
|
Reference in New Issue
Block a user