couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From chewbra...@apache.org
Subject [08/50] couch commit: updated refs/heads/2080-port-cors-to-chttpd to 529339b
Date Tue, 02 Jun 2015 19:35:39 GMT
Fix couch_sup:handle_config_change

Since couch_server_sup is gone for a long time we need to use different
supervisor name in handle_config_change.

COUCHDB-2547


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

Branch: refs/heads/2080-port-cors-to-chttpd
Commit: ca6607a9eee8570256cd051c7beb155a3462640c
Parents: 65c88d2
Author: ILYA Khlopotov <iilyak@ca.ibm.com>
Authored: Thu Feb 5 11:31:11 2015 -0800
Committer: ILYA Khlopotov <iilyak@ca.ibm.com>
Committed: Tue Feb 10 11:07:29 2015 -0800

----------------------------------------------------------------------
 src/couch_sup.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-couch/blob/ca6607a9/src/couch_sup.erl
----------------------------------------------------------------------
diff --git a/src/couch_sup.erl b/src/couch_sup.erl
index 2498a80..8dfa011 100644
--- a/src/couch_sup.erl
+++ b/src/couch_sup.erl
@@ -66,7 +66,7 @@ init(_Args) ->
 
 
 handle_config_change("daemons", _, _, _, _) ->
-    exit(whereis(couch_server_sup), shutdown),
+    exit(whereis(?MODULE), shutdown),
     remove_handler;
 handle_config_change("couchdb", "util_driver_dir", _, _, _) ->
     [Pid] = [P || {collation_driver, P, _, _}


Mime
View raw message