misc. cleanup (#30295)
This commit is contained in:
parent
27f18f96e8
commit
b9b8cd9ccc
|
@ -113,15 +113,6 @@ pub struct CalcAccountsHashConfig<'a> {
|
||||||
pub store_detailed_debug_info_on_failure: bool,
|
pub store_detailed_debug_info_on_failure: bool,
|
||||||
}
|
}
|
||||||
|
|
||||||
impl<'a> CalcAccountsHashConfig<'a> {
|
|
||||||
/// return true if we should cache accounts hash intermediate data between calls
|
|
||||||
pub fn get_should_cache_hash_data() -> bool {
|
|
||||||
// when we are skipping rewrites, we cannot rely on the cached data from old append vecs, so we have to disable caching for now
|
|
||||||
// skipping rewrites is not enabled in this branch. It requires a cli argument.
|
|
||||||
true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// smallest, 3 quartiles, largest, average
|
// smallest, 3 quartiles, largest, average
|
||||||
pub type StorageSizeQuartileStats = [usize; 6];
|
pub type StorageSizeQuartileStats = [usize; 6];
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue