couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject [couchdb] 03/07: remove leftover code from olde notification system
Date Mon, 09 Oct 2017 06:14:42 GMT
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 <jan@apache.org>
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" <commits@couchdb.apache.org>.

Mime
View raw message