add --accounts-index-scan-results-limit-mb to allow scans to abort (#21327)

* ScanConfig -> &ScanConfig

* add --accounts-index-scan-results-limit-mb to allow scans to abort

* feedback
This commit is contained in:
Jeff Washington (jwash)
2021-11-19 09:00:19 -06:00
committed by GitHub
parent 48dfdfb4d5
commit 79d21d6805
9 changed files with 161 additions and 75 deletions

View File

@ -267,7 +267,7 @@ fn bench_concurrent_scan_write(bencher: &mut Bencher) {
&Ancestors::default(),
0,
AccountSharedData::default().owner(),
ScanConfig::default(),
&ScanConfig::default(),
)
.unwrap(),
);