Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix duplication of gc call

  • Loading branch information...
commit 8f6e0f37245eac888ae6f60843e2f21b63e2e9a7 1 parent 97a8a84
@kellymclaughlin kellymclaughlin authored
Showing with 0 additions and 1 deletion.
  1. +0 −1  src/riak_core_sysmon_handler.erl
View
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
Please sign in to comment.
Something went wrong with that request. Please try again.