Repository: couchdb-peruser Updated Branches: refs/heads/master 39ef15a28 -> 4eea95711
Fix a typo in match of config_change event config_change event suppose to have 5 elements COUCHDB-3102 Project: http://git-wip-us.apache.org/repos/asf/couchdb-peruser/repo Commit: http://git-wip-us.apache.org/repos/asf/couchdb-peruser/commit/0756d35a Tree: http://git-wip-us.apache.org/repos/asf/couchdb-peruser/tree/0756d35a Diff: http://git-wip-us.apache.org/repos/asf/couchdb-peruser/diff/0756d35a Branch: refs/heads/master Commit: 0756d35ac8b091aa1eda1909cd231c447d8bbd8e Parents: 39ef15a Author: ILYA Khlopotov <[email protected]> Authored: Thu Aug 25 17:09:48 2016 -0700 Committer: ILYA Khlopotov <[email protected]> Committed: Thu Aug 25 17:09:48 2016 -0700 ---------------------------------------------------------------------- src/couch_peruser.erl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/couchdb-peruser/blob/0756d35a/src/couch_peruser.erl ---------------------------------------------------------------------- diff --git a/src/couch_peruser.erl b/src/couch_peruser.erl index d637916..d38a86d 100644 --- a/src/couch_peruser.erl +++ b/src/couch_peruser.erl @@ -186,9 +186,9 @@ handle_cast(_Msg, State) -> handle_info({'DOWN', Ref, _, _, _Reason}, #state{changes_ref=Ref} = State) -> {stop, normal, State}; -handle_info({config_change, "couch_peruser", _, _}, State) -> +handle_info({config_change, "couch_peruser", _, _, _}, State) -> handle_cast(update_config, State); -handle_info({config_change, "couch_httpd_auth", "authentication_db", _}, State) -> +handle_info({config_change, "couch_httpd_auth", "authentication_db", _, _}, State) -> handle_cast(update_config, State); handle_info({gen_event_EXIT, _Handler, _Reason}, State) -> erlang:send_after(?RELISTEN_DELAY, self(), restart_config_listener),
