Permalink
Browse files

Fix duplication of gc call

  • Loading branch information...
1 parent 97a8a84 commit 8f6e0f37245eac888ae6f60843e2f21b63e2e9a7 Kelly McLaughlin committed Oct 17, 2012
Showing with 0 additions and 1 deletion.
  1. +0 −1 src/riak_core_sysmon_handler.erl
@@ -87,7 +87,6 @@ handle_event({monitor, Pid, Type, _Info},
%% Reset the inactivity timeout
NewTimerRef = reset_timer(TimerRef),
maybe_collect_garbage(Type),
- erlang:garbage_collect(),
{ok, State#state{timer_ref=NewTimerRef}};
handle_event({monitor, Pid, Type, Info}, State=#state{timer_ref=TimerRef}) ->
%% Reset the inactivity timeout

0 comments on commit 8f6e0f3

Please sign in to comment.