Skip to content
This repository has been archived by the owner on Sep 27, 2023. It is now read-only.

Commit

Permalink
Remove v37 upgrade code_change code.
Browse files Browse the repository at this point in the history
  • Loading branch information
archaelus committed Oct 8, 2013
1 parent 34bc8cf commit d16e244
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/logplex_shard.erl
Expand Up @@ -201,18 +201,6 @@ terminate(_Reason, _State) ->
%% Description: Convert process state when code is changed
%% @hidden
%%--------------------------------------------------------------------
code_change(v37, State, _Extra) ->
%% Need to link to existing redis buffer processes.
[ begin
link(Pid),
%% Exit(RemotePid, shutdown) will work as the supervisor
%% will simply delete the child and remove its spec
exit(Pid, shutdown)
end
|| {_Id, Pid, worker, _Modules}
<- supervisor:which_children(logplex_redis_buffer_sup)],
{ok, State};

code_change(_OldVsn, State, _Extra) ->
{ok, State}.

Expand Down

0 comments on commit d16e244

Please sign in to comment.