couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rnew...@apache.org
Subject [2/3] couch commit: updated refs/heads/master to 4ca9e41
Date Thu, 01 Oct 2015 15:06:57 GMT
Pass supervisor's children to couch_epi


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

Branch: refs/heads/master
Commit: b00635c8ca0ab2f2e11ae49d763fba72dd6d0ea8
Parents: a27ce33
Author: ILYA Khlopotov <iilyak@ca.ibm.com>
Authored: Tue Sep 29 13:03:34 2015 -0700
Committer: ILYA Khlopotov <iilyak@ca.ibm.com>
Committed: Tue Sep 29 13:03:34 2015 -0700

----------------------------------------------------------------------
 src/couch_secondary_sup.erl | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-couch/blob/b00635c8/src/couch_secondary_sup.erl
----------------------------------------------------------------------
diff --git a/src/couch_secondary_sup.erl b/src/couch_secondary_sup.erl
index 1aeb303..0c3b7aa 100644
--- a/src/couch_secondary_sup.erl
+++ b/src/couch_secondary_sup.erl
@@ -26,8 +26,7 @@ init([]) ->
             worker,
             dynamic}
     ],
-    ServiceProcesses = couch_epi:register_service(couch_db_epi),
-    Children = SecondarySupervisors ++ ServiceProcesses ++ [
+    Children = SecondarySupervisors ++ [
         begin
             {ok, {Module, Fun, Args}} = couch_util:parse_term(SpecStr),
 
@@ -40,4 +39,5 @@ init([]) ->
         end
         || {Name, SpecStr}
         <- config:get("daemons"), SpecStr /= ""],
-    {ok, {{one_for_one, 50, 3600}, Children}}.
+    {ok, {{one_for_one, 50, 3600},
+        couch_epi:register_service(couch_db_epi, Children)}}.


Mime
View raw message