couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject [1/2] git commit: updated refs/heads/1867-feature-plugins-jhs to b837e34
Date Sun, 08 Sep 2013 15:37:11 GMT
Updated Branches:
  refs/heads/1867-feature-plugins-jhs ae61fbb07 -> b837e3481


A handler for 'couch_plugin' events'


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

Branch: refs/heads/1867-feature-plugins-jhs
Commit: 23d019988afdda5719d72d650792832fc4a972a5
Parents: ae61fbb
Author: Jason Smith (work) <jason.h.smith@gmail.com>
Authored: Mon Aug 19 13:07:23 2013 +0000
Committer: Jason Smith (work) <jason.h.smith@gmail.com>
Committed: Mon Aug 19 13:07:23 2013 +0000

----------------------------------------------------------------------
 src/couchdb/couch_secondary_sup.erl | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/23d01998/src/couchdb/couch_secondary_sup.erl
----------------------------------------------------------------------
diff --git a/src/couchdb/couch_secondary_sup.erl b/src/couchdb/couch_secondary_sup.erl
index 6320fd9..6dd5604 100644
--- a/src/couchdb/couch_secondary_sup.erl
+++ b/src/couchdb/couch_secondary_sup.erl
@@ -24,7 +24,14 @@ init([]) ->
             permanent,
             infinity,
             supervisor,
-            [couch_db_update_notifier_sup]}
+            [couch_db_update_notifier_sup]},
+
+        {couch_plugin_event,
+            {gen_event, start_link, [{local, couch_plugin}]},
+            permanent,
+            brutal_kill,
+            worker,
+            dynamic}
     ],
     Children = SecondarySupervisors ++ [
         begin


Mime
View raw message