diff options
Diffstat (limited to 'src/couchdb/couch_db_update_notifier_sup.erl')
-rw-r--r-- | src/couchdb/couch_db_update_notifier_sup.erl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/couchdb/couch_db_update_notifier_sup.erl b/src/couchdb/couch_db_update_notifier_sup.erl index 69d6b1b0..76400637 100644 --- a/src/couchdb/couch_db_update_notifier_sup.erl +++ b/src/couchdb/couch_db_update_notifier_sup.erl @@ -33,11 +33,11 @@ init([]) -> ok = couch_config:register( fun("update_notification", Key, Value) -> reload_config(Key, Value) end ), - + UpdateNotifierExes = couch_config:get("update_notification"), - + {ok, - {{one_for_one, 10, 3600}, + {{one_for_one, 10, 3600}, lists:map(fun({Name, UpdateNotifierExe}) -> {Name, {couch_db_update_notifier, start_link, [UpdateNotifierExe]}, @@ -47,7 +47,7 @@ init([]) -> [couch_db_update_notifier]} end, UpdateNotifierExes)}}. -%% @doc when update_notification configuration changes, terminate the process +%% @doc when update_notification configuration changes, terminate the process %% for that notifier and start a new one with the updated config reload_config(Id, Exe) -> ChildSpec = { |