This is an automated email from the ASF dual-hosted git repository. wohali pushed a commit to branch 749-fix-couch_peruser-app-structure in repository https://gitbox.apache.org/repos/asf/couchdb.git
commit 3ed4838f3065164cac73d9b95b561dc32a4ea529 Author: Jan Lehnardt <j...@apache.org> AuthorDate: Mon Oct 9 08:12:01 2017 +0200 move function declaration around for internal consistency --- src/couch_peruser/src/couch_peruser.erl | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/couch_peruser/src/couch_peruser.erl b/src/couch_peruser/src/couch_peruser.erl index f820fe6..7943a9c 100644 --- a/src/couch_peruser/src/couch_peruser.erl +++ b/src/couch_peruser/src/couch_peruser.erl @@ -290,6 +290,13 @@ exit_changes(State) -> is_stable() -> gen_server:call(?MODULE, is_stable). +-spec subscribe_for_changes() -> ok. +subscribe_for_changes() -> + config:subscribe_for_changes([ + {"couch_httpd_auth", "authentication_db"}, + "couch_peruser" + ]). + % Mem3 cluster callbacks % TODO: find out what type Server is @@ -351,13 +358,6 @@ handle_info(restart_config_listener, State) -> handle_info(_Msg, State) -> {noreply, State}. --spec subscribe_for_changes() -> ok. -subscribe_for_changes() -> - config:subscribe_for_changes([ - {"couch_httpd_auth", "authentication_db"}, - "couch_peruser" - ]). - terminate(_Reason, _State) -> %% Everything should be linked or monitored, let nature %% take its course. -- To stop receiving notification emails like this one, please contact "commits@couchdb.apache.org" <commits@couchdb.apache.org>.