Skip to content

Commit

Permalink
Replicator DB listener: removed function clause not needed anymore.
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1039872 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
fdmanana committed Nov 28, 2010
1 parent 90f9f46 commit 4afdfc3
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/couchdb/couch_rep_db_listener.erl
Expand Up @@ -79,9 +79,6 @@ handle_cast(Msg, State) ->
?LOG_ERROR("Replicator DB listener received unexpected cast ~p", [Msg]),
{stop, {error, {unexpected_cast, Msg}}, State}.

handle_info({'EXIT', _OldChangesLoop, rep_db_changed}, State) ->
{noreply, State};

handle_info({'EXIT', From, normal}, #state{changes_feed_loop = From} = State) ->
% replicator DB deleted
couch_work_queue:queue(State#state.changes_queue, stop_all_replications),
Expand Down

0 comments on commit 4afdfc3

Please sign in to comment.