Add ability to abort scan (#21314)
This commit is contained in:
committed by
GitHub
parent
e540b1cf3c
commit
0f69a14247
@ -9,7 +9,7 @@ use rayon::iter::{IntoParallelRefIterator, ParallelIterator};
|
||||
use solana_runtime::{
|
||||
accounts::{create_test_accounts, AccountAddressFilter, Accounts},
|
||||
accounts_db::AccountShrinkThreshold,
|
||||
accounts_index::AccountSecondaryIndexes,
|
||||
accounts_index::{AccountSecondaryIndexes, ScanConfig},
|
||||
ancestors::Ancestors,
|
||||
bank::*,
|
||||
};
|
||||
@ -267,6 +267,7 @@ fn bench_concurrent_scan_write(bencher: &mut Bencher) {
|
||||
&Ancestors::default(),
|
||||
0,
|
||||
AccountSharedData::default().owner(),
|
||||
ScanConfig::default(),
|
||||
)
|
||||
.unwrap(),
|
||||
);
|
||||
|
Reference in New Issue
Block a user