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/02/06 18:39:50 UTC

[08/50] [abbrv] couch commit: updated refs/heads/import-rcouch to e2dbc79

A handler for 'couch_plugin' events'


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

Branch: refs/heads/import-rcouch
Commit: af617d336f655f1082cdd01aa15ecc1a58c95e52
Parents: b3df544
Author: Jason Smith (work) <ja...@gmail.com>
Authored: Mon Aug 19 13:07:23 2013 +0000
Committer: Jan Lehnardt <ja...@apache.org>
Committed: Thu Oct 3 16:08:37 2013 +0200

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


http://git-wip-us.apache.org/repos/asf/couchdb-couch/blob/af617d33/couch_secondary_sup.erl
----------------------------------------------------------------------
diff --git a/couch_secondary_sup.erl b/couch_secondary_sup.erl
index 6320fd9..6dd5604 100644
--- a/couch_secondary_sup.erl
+++ b/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