Skip to content

Commit

Permalink
no more timer ping log messages
Browse files Browse the repository at this point in the history
  • Loading branch information
Vlad Ki authored Jun 3, 2019
1 parent 076278b commit 70c84f3
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/n2o.erl
Original file line number Diff line number Diff line change
Expand Up @@ -96,13 +96,11 @@ cache(Tab, Key) ->
% TIMER

proc(init,#pi{}=Async) ->
?LOG_INFO("init"),
Timer = timer_restart(ping()),
{ok,Async#pi{state=Timer}};

proc({timer,ping},#pi{state=Timer}=Async) ->
erlang:cancel_timer(Timer),
?LOG_INFO("timer ping"),
n2o:invalidate_cache(caching),
(n2o_session:storage()):invalidate_sessions(),
{reply,ok,Async#pi{state=timer_restart(ping())}}.
Expand Down

1 comment on commit 70c84f3

@5HT
Copy link
Member

@5HT 5HT commented on 70c84f3 Jun 3, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be selectable as in previous version of N2O.
We need either a list of modules to show or to deny in logs.
New N2O LOG lacks the features of previous versions and this needs to be fixed.

Please sign in to comment.