You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by da...@apache.org on 2014/01/17 23:07:19 UTC

[45/50] git commit: Rewrite the boot procedure for the couch app

Rewrite the boot procedure for the couch app

We had a lot of historical cruft lying around from before people knew
hot OTP worked. This does some cleanup to make things a bit more tidy
through this section but we still have a long ways to go.


Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator/commit/b4d569f0
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator/tree/b4d569f0
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator/diff/b4d569f0

Branch: refs/heads/import
Commit: b4d569f04002ce68e968816cad30c57cad62c571
Parents: 9f968dc
Author: Paul J. Davis <pa...@gmail.com>
Authored: Mon Mar 11 16:13:14 2013 -0500
Committer: Paul J. Davis <pa...@gmail.com>
Committed: Wed Mar 20 06:02:54 2013 -0500

----------------------------------------------------------------------
 src/couch_replicator_manager.erl | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-couch-replicator/blob/b4d569f0/src/couch_replicator_manager.erl
----------------------------------------------------------------------
diff --git a/src/couch_replicator_manager.erl b/src/couch_replicator_manager.erl
index 93f0e89..c213199 100644
--- a/src/couch_replicator_manager.erl
+++ b/src/couch_replicator_manager.erl
@@ -226,6 +226,9 @@ handle_info(restart_config_listener, State) ->
     ok = config:listen_for_changes(?MODULE, self()),
     {noreply, State};
 
+handle_info(shutdown, State) ->
+    {stop, shutdown, State};
+
 handle_info(Msg, State) ->
     twig:log(error,"Replication manager received unexpected message ~p", [Msg]),
     {stop, {unexpected_msg, Msg}, State}.