[Groonga-commit] droonga/express-droonga at 25bec67 [master] Remove needless code

Back to archive index

YUKI Hiroshi null+****@clear*****
Wed Nov 5 12:23:47 JST 2014


YUKI Hiroshi	2014-11-05 12:23:47 +0900 (Wed, 05 Nov 2014)

  New Revision: 25bec67637986fa259a3b7e778b089b3bc1d9115
  https://github.com/droonga/express-droonga/commit/25bec67637986fa259a3b7e778b089b3bc1d9115

  Message:
    Remove needless code

  Modified files:
    lib/serf/client.js

  Modified: lib/serf/client.js (+0 -15)
===================================================================
--- lib/serf/client.js    2014-11-05 12:21:35 +0900 (9cc9494)
+++ lib/serf/client.js    2014-11-05 12:23:47 +0900 (ace4e26)
@@ -57,21 +57,6 @@ Client.prototype = {
     }).bind(this));
   },
 
-  joinTo: function(existingMemberHostName) {
-    return this.connect().then((function() {
-      return Q.Promise((function(resolve, reject, notify) {
-        this._client.join({
-          Existing: [existingMemberHostName + ':7946'],
-          Replay:   false
-        }, function(error, result) {
-          if (error)
-            return reject(error);
-          resolve();
-        });
-      }).bind(this));
-    }).bind(this));
-  },
-
   getAllMembers: function() {
     return this.connect().then((function() {
       return Q.Promise((function(resolve, reject, notify) {
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index