Use cache size - don't recalc length
This commit is contained in:
parent
9ad6969b0d
commit
cd82bba6cd
1 changed files with 4 additions and 1 deletions
|
@ -407,7 +407,10 @@ handle_call({fetch_keys, StartKey, EndKey, AccFun, InitAcc, MaxKeys},
|
|||
List ->
|
||||
List
|
||||
end,
|
||||
leveled_log:log_randomtimer("P0037", [length(L0AsList)], SW, 0.01),
|
||||
leveled_log:log_randomtimer("P0037",
|
||||
[State#state.levelzero_size],
|
||||
SW,
|
||||
0.01),
|
||||
SetupFoldFun =
|
||||
fun(Level, Acc) ->
|
||||
Pointers = leveled_pmanifest:range_lookup(State#state.manifest,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue