From 70c84f394475a1e3a88ee95db758004e95f27976 Mon Sep 17 00:00:00 2001 From: Vlad Ki Date: Mon, 3 Jun 2019 15:10:59 +0300 Subject: [PATCH] no more timer ping log messages --- src/n2o.erl | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/n2o.erl b/src/n2o.erl index d139657f..1afcdffe 100644 --- a/src/n2o.erl +++ b/src/n2o.erl @@ -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())}}.