You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by kx...@apache.org on 2015/02/04 16:49:43 UTC
[2/4] couchdb-couch-event git commit: Don't restart event handler on
termiation
Don't restart event handler on termiation
COUCHDB-2561
Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-event/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch-event/commit/1c18cd7b
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch-event/tree/1c18cd7b
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch-event/diff/1c18cd7b
Branch: refs/heads/master
Commit: 1c18cd7b6bb610db98213d5427cc150be73cf2c2
Parents: 71cd331
Author: ILYA Khlopotov <ii...@ca.ibm.com>
Authored: Fri Jan 30 11:15:08 2015 -0800
Committer: ILYA Khlopotov <ii...@ca.ibm.com>
Committed: Wed Feb 4 06:06:34 2015 -0800
----------------------------------------------------------------------
src/couch_event_os_sup.erl | 1 +
1 file changed, 1 insertion(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/couchdb-couch-event/blob/1c18cd7b/src/couch_event_os_sup.erl
----------------------------------------------------------------------
diff --git a/src/couch_event_os_sup.erl b/src/couch_event_os_sup.erl
index 2a1457b..6c2b787 100644
--- a/src/couch_event_os_sup.erl
+++ b/src/couch_event_os_sup.erl
@@ -60,6 +60,7 @@ handle_config_change("update_notification", Id, Exe, _, _) when is_list(Exe) ->
handle_config_change(_, _, _, _, _) ->
{ok, nil}.
+handle_config_terminate(_, stop, _) -> ok;
handle_config_terminate(_, _, _) ->
spawn(fun() ->
timer:sleep(5000),