Skip to content

Commit

Permalink
stric {timer,ping}
Browse files Browse the repository at this point in the history
  • Loading branch information
5HT committed Feb 29, 2016
1 parent 2b16279 commit 73a901f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/n2o.erl
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ proc(init,#handler{}=Async) ->

proc({timer,ping},#handler{state=Timer}=Async) ->
case Timer of undefined -> skip; _ -> erlang:cancel_timer(Timer) end,
wf:info(?MODULE,"N2O Timer: ~p~n",[X]),
wf:info(?MODULE,"N2O Timer: ~p~n",[ping]),
n2o_session:invalidate_sessions(),
wf:invalidate_cache(),
{reply,ok,Async#handler{state=timer_restart(ping())}}.
Expand Down

0 comments on commit 73a901f

Please sign in to comment.