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:32:14 UTC
[04/12] couch-httpd commit: updated refs/heads/import-rcouch to
5b12577
a more descriptive comment of the listener reloading flow
Project: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/commit/985fdee6
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/tree/985fdee6
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/diff/985fdee6
Branch: refs/heads/import-rcouch
Commit: 985fdee686b1a82c2fae54883f590d29c2c0f997
Parents: 40cde82
Author: benoitc <be...@apache.org>
Authored: Mon Jan 13 09:36:44 2014 +0100
Committer: Paul J. Davis <pa...@gmail.com>
Committed: Thu Feb 6 11:31:04 2014 -0600
----------------------------------------------------------------------
src/couch_httpd_sup.erl | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/couchdb-couch-httpd/blob/985fdee6/src/couch_httpd_sup.erl
----------------------------------------------------------------------
diff --git a/src/couch_httpd_sup.erl b/src/couch_httpd_sup.erl
index b430e45..1ce53f1 100644
--- a/src/couch_httpd_sup.erl
+++ b/src/couch_httpd_sup.erl
@@ -62,7 +62,7 @@ upgrade() ->
%% @doc upgrade a listener
-spec reload_listener(atom()) -> {ok, pid()} | {error, term()}.
reload_listener(Id) ->
- %% stop the listener
+ %% stop the listener and remove it from the supervision temporarely
supervisor:terminate_child(?MODULE, Id),
supervisor:delete_child(?MODULE, Id),