Github user davisp commented on a diff in the pull request:
https://github.com/apache/couchdb-chttpd/pull/12#discussion_r26996242
--- Diff: src/chttpd_auth_cache.erl ---
@@ -91,6 +102,12 @@ handle_info({'DOWN', _, _, Pid, Reason},
#state{changes_pid=Pid} = State) ->
{noreply, State#state{last_seq=Seq}};
handle_info({start_listener, Seq}, State) ->
{noreply, State#state{changes_pid = spawn_changes(Seq)}};
+handle_info({gen_event_EXIT, {config_listener, ?MODULE}, _Reason}, State)
->
+ erlang:send_after(5000, self(), restart_config_listener),
--- End diff --
The 5000 is to limit restart frequency which can cause badness in its own
right.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---