YUKI Hiroshi
null+****@clear*****
Wed Nov 19 16:45:07 JST 2014
YUKI Hiroshi 2014-11-19 16:45:07 +0900 (Wed, 19 Nov 2014) New Revision: 29b30a9a6dce41ab82a888e692af39e8fe5acc83 https://github.com/droonga/express-droonga/commit/29b30a9a6dce41ab82a888e692af39e8fe5acc83 Message: Update the list of retry-join based on the latest information Modified files: lib/droonga-protocol/connection-pool.js Modified: lib/droonga-protocol/connection-pool.js (+3 -1) =================================================================== --- lib/droonga-protocol/connection-pool.js 2014-11-19 16:37:17 +0900 (120f822) +++ lib/droonga-protocol/connection-pool.js 2014-11-19 16:45:07 +0900 (6c9351e) @@ -190,7 +190,9 @@ ConnectionPool.prototype = { return; this._updateHostNamesTimer = setTimeout((function() { this._updateHostNamesTimer = null; - this.updateHostNamesFromCluster(); + this.updateHostNamesFromCluster() + .then(this.endWatchClusterChanges.bind(this)) + .then(this.startWatchClusterChanges.bind(this)); }).bind(this), 500); }).bind(this)); this._watching = true; -------------- next part -------------- HTML����������������������������... Download