YUKI Hiroshi
null+****@clear*****
Wed Nov 5 13:13:53 JST 2014
YUKI Hiroshi 2014-11-05 13:13:53 +0900 (Wed, 05 Nov 2014) New Revision: 71de954a85f5f3223a15b63fdc331553e609dcfd https://github.com/droonga/express-droonga/commit/71de954a85f5f3223a15b63fdc331553e609dcfd Message: Update hostNames from the cluter by member-change event Modified files: lib/droonga-protocol/connection-pool.js Modified: lib/droonga-protocol/connection-pool.js (+1 -0) =================================================================== --- lib/droonga-protocol/connection-pool.js 2014-11-05 13:13:31 +0900 (f804804) +++ lib/droonga-protocol/connection-pool.js 2014-11-05 13:13:53 +0900 (f6f2e71) @@ -189,6 +189,7 @@ ConnectionPool.prototype = { otherMembers: this.hostNames }); this._serf.start(); + this._serf.on('member-change', this.updateHostNamesFromCluster.bind(this)); this._watching = true; }, -------------- next part -------------- HTML����������������������������... 下載