Return-Path: X-Original-To: apmail-couchdb-dev-archive@www.apache.org Delivered-To: apmail-couchdb-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1CAA8175D9 for ; Mon, 12 Jan 2015 00:39:06 +0000 (UTC) Received: (qmail 35531 invoked by uid 500); 12 Jan 2015 00:39:07 -0000 Delivered-To: apmail-couchdb-dev-archive@couchdb.apache.org Received: (qmail 35468 invoked by uid 500); 12 Jan 2015 00:39:07 -0000 Mailing-List: contact dev-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@couchdb.apache.org Delivered-To: mailing list dev@couchdb.apache.org Received: (qmail 35452 invoked by uid 99); 12 Jan 2015 00:39:02 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 Jan 2015 00:39:02 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id B59599AA13B; Mon, 12 Jan 2015 00:39:01 +0000 (UTC) From: kxepal To: dev@couchdb.apache.org Reply-To: dev@couchdb.apache.org References: In-Reply-To: Subject: [GitHub] couchdb-chttpd pull request: Add users db security rules on cluste... Content-Type: text/plain Message-Id: <20150112003901.B59599AA13B@tyr.zones.apache.org> Date: Mon, 12 Jan 2015 00:39:01 +0000 (UTC) Github user kxepal commented on a diff in the pull request: https://github.com/apache/couchdb-chttpd/pull/12#discussion_r22772454 --- 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 -- May be. I'm ok with, just wondering about magic numbers (: --- 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 infrastructure@apache.org or file a JIRA ticket with INFRA. ---