Reduce logging
Otherwise erlang.log with default settings my cycle too fast for a long indexer
This commit is contained in:
parent
a6bd151d58
commit
dd5b22a71e
2 changed files with 10 additions and 5 deletions
|
@ -1316,7 +1316,12 @@ update_levelzero(L0Size, {PushedTree, PushedIdx, MinSQN, MaxSQN},
|
|||
Due = CacheTooBig and JitterCheck,
|
||||
{UpdState0, _L0Bloom} = maybe_roll_memory(UpdState, Due, false),
|
||||
LogSubs = [NewL0Size, Due, State#state.work_ongoing],
|
||||
leveled_log:log_timer("P0031", LogSubs, SW),
|
||||
case Due of
|
||||
true ->
|
||||
leveled_log:log_timer("P0031", LogSubs, SW);
|
||||
_ ->
|
||||
ok
|
||||
end,
|
||||
UpdState0
|
||||
end.
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue