diff options
author | Damien F. Katz <damien@apache.org> | 2008-09-13 17:32:46 +0000 |
---|---|---|
committer | Damien F. Katz <damien@apache.org> | 2008-09-13 17:32:46 +0000 |
commit | 58cd856811cf0e0238bcb14792711672ba687175 (patch) | |
tree | 50565ed1daa1a0966a301458f5dcb838828af478 /src/couchdb/couch_db_update_notifier_sup.erl | |
parent | 48d2d8c0e97aa39eab674aea580a569d8aedd5c7 (diff) |
Changes and refactorings to couch_config
git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@694989 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/couchdb/couch_db_update_notifier_sup.erl')
-rw-r--r-- | src/couchdb/couch_db_update_notifier_sup.erl | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/couchdb/couch_db_update_notifier_sup.erl b/src/couchdb/couch_db_update_notifier_sup.erl index 010533da..0662fe77 100644 --- a/src/couchdb/couch_db_update_notifier_sup.erl +++ b/src/couchdb/couch_db_update_notifier_sup.erl @@ -31,12 +31,11 @@ start_link() -> init([]) -> Self = self(), ok = couch_config:register( - fun({"update_notification", _}) -> + fun("update_notification", _) -> exit(Self, reload_config) end), - UpdateNotifierExes = couch_config:lookup_match( - {{"update_notification", '$1'}, '$2'}, []), + UpdateNotifierExes = couch_config:get("update_notification"), {ok, {{one_for_one, 10, 3600}, |