Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id DE7BB200D3D for ; Mon, 9 Oct 2017 08:14:44 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id DD2501609E6; Mon, 9 Oct 2017 06:14:44 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 38C09160BDE for ; Mon, 9 Oct 2017 08:14:44 +0200 (CEST) Received: (qmail 49628 invoked by uid 500); 9 Oct 2017 06:14:43 -0000 Mailing-List: contact commits-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 commits@couchdb.apache.org Received: (qmail 49584 invoked by uid 99); 9 Oct 2017 06:14:43 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Oct 2017 06:14:43 +0000 Received: by gitbox.apache.org (ASF Mail Server at gitbox.apache.org, from userid 33) id 15F688191B; Mon, 9 Oct 2017 06:14:39 +0000 (UTC) Date: Mon, 09 Oct 2017 06:14:42 +0000 To: "commits@couchdb.apache.org" Subject: [couchdb] 03/07: remove leftover code from olde notification system MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit From: jan@apache.org In-Reply-To: <150752967936.14035.18435120282549608479@gitbox.apache.org> References: <150752967936.14035.18435120282549608479@gitbox.apache.org> X-Git-Host: gitbox.apache.org X-Git-Repo: couchdb X-Git-Refname: refs/heads/749-fix-couch_peruser-app-structure X-Git-Reftype: branch X-Git-Rev: 2ac9d55321aaf681e8286fa7925b4e11cd84085b X-Git-NotificationType: diff X-Git-Multimail-Version: 1.5.dev Auto-Submitted: auto-generated Message-Id: <20171009061441.15F688191B@gitbox.apache.org> archived-at: Mon, 09 Oct 2017 06:14:45 -0000 This is an automated email from the ASF dual-hosted git repository. jan pushed a commit to branch 749-fix-couch_peruser-app-structure in repository https://gitbox.apache.org/repos/asf/couchdb.git commit 2ac9d55321aaf681e8286fa7925b4e11cd84085b Author: Jan Lehnardt AuthorDate: Mon Oct 9 07:56:12 2017 +0200 remove leftover code from olde notification system --- src/couch_peruser/src/couch_peruser.erl | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/couch_peruser/src/couch_peruser.erl b/src/couch_peruser/src/couch_peruser.erl index 16305c6..c2ac6ab 100644 --- a/src/couch_peruser/src/couch_peruser.erl +++ b/src/couch_peruser/src/couch_peruser.erl @@ -21,9 +21,6 @@ -export([start_link/0, init/1, handle_call/3, handle_cast/2, handle_info/2, terminate/2, code_change/3]). -% cluster state notification callback --export([notify_cluster_event/2]). - -export([init_changes_handler/1, changes_handler/3]). % mem3_cluster callbacks @@ -92,11 +89,6 @@ init() -> } end. -% Cluster membership change notification callback --spec notify_cluster_event(Server :: pid(), Event :: {cluster, any()}) -> ok. -notify_cluster_event(Server, {cluster, _} = Event) -> - % couch_log:debug("peruser: received cluster event ~p on node ~p", [Event, node()]), - gen_server:cast(Server, Event). -spec start_listening(ClusterState :: #clusterState{}) -> #clusterState{} | ok. start_listening(#clusterState{states=States}=ClusterState) when length(States) > 0 -> -- To stop receiving notification emails like this one, please contact "commits@couchdb.apache.org" .