AcctIdx: store # threads in BucketHolder. Used later. (#20151)

This commit is contained in:
Jeff Washington (jwash)
2021-09-23 19:56:44 -05:00
committed by GitHub
parent b3bb079d9f
commit 1d13594c1c
3 changed files with 16 additions and 15 deletions

View File

@@ -717,6 +717,7 @@ mod tests {
let holder = Arc::new(BucketMapHolder::new(
BINS_FOR_TESTING,
&Some(AccountsIndexConfig::default()),
1,
));
let bin = 0;
InMemAccountsIndex::new(&holder, bin)