Reduce verbosity
This commit is contained in:
parent
120609f8ac
commit
5b4a4551a9
1 changed files with 3 additions and 4 deletions
|
@ -69,7 +69,7 @@ open_levels(Dir) ->
|
||||||
{?TOP_LEVEL, ?TOP_LEVEL},
|
{?TOP_LEVEL, ?TOP_LEVEL},
|
||||||
Files),
|
Files),
|
||||||
|
|
||||||
error_logger:info_msg("found files ... {~p,~p}~n", [MinLevel, MaxLevel]),
|
% error_logger:info_msg("found level files ... {~p,~p}~n", [MinLevel, MaxLevel]),
|
||||||
|
|
||||||
%% remove old nursery file
|
%% remove old nursery file
|
||||||
file:delete(filename:join(Dir,"nursery.data")),
|
file:delete(filename:join(Dir,"nursery.data")),
|
||||||
|
@ -103,8 +103,8 @@ handle_cast(Info,State) ->
|
||||||
|
|
||||||
|
|
||||||
%% premature delete -> cleanup
|
%% premature delete -> cleanup
|
||||||
terminate(Reason,State) ->
|
terminate(_Reason,_State) ->
|
||||||
error_logger:info_msg("got terminate(~p,~p)~n", [Reason,State]),
|
% error_logger:info_msg("got terminate(~p,~p)~n", [Reason,State]),
|
||||||
% flush_nursery(State),
|
% flush_nursery(State),
|
||||||
ok.
|
ok.
|
||||||
|
|
||||||
|
@ -137,7 +137,6 @@ handle_call(close, _From, State) ->
|
||||||
{stop, normal, ok, State2}.
|
{stop, normal, ok, State2}.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
do_put(Key, Value, State=#state{ nursery=Tree }) ->
|
do_put(Key, Value, State=#state{ nursery=Tree }) ->
|
||||||
Tree2 = gb_trees:enter(Key, Value, Tree),
|
Tree2 = gb_trees:enter(Key, Value, Tree),
|
||||||
TreeSize = gb_trees:size(Tree2),
|
TreeSize = gb_trees:size(Tree2),
|
||||||
|
|
Loading…
Reference in a new issue