diff options
author | benoitc <benoitc@apache.org> | 2014-01-13 09:36:44 +0100 |
---|---|---|
committer | benoitc <benoitc@apache.org> | 2014-01-13 09:36:44 +0100 |
commit | 39167507746c310eb275ac605cd7521ea1dadb79 (patch) | |
tree | 04d7d1bcec45e4fe005808aab87f97466d6873d6 | |
parent | fe862184f580c7951c326c7556ff8bd7e938dfcf (diff) | |
download | couchdb-39167507746c310eb275ac605cd7521ea1dadb79.tar.gz |
a more descriptive comment of the listener reloading flow
-rw-r--r-- | apps/couch_httpd/src/couch_httpd_sup.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/couch_httpd/src/couch_httpd_sup.erl b/apps/couch_httpd/src/couch_httpd_sup.erl index b430e4535..1ce53f1b4 100644 --- a/apps/couch_httpd/src/couch_httpd_sup.erl +++ b/apps/couch_httpd/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), |