Skip to content

Commit

Permalink
Update the list of retry-join based on the latest information
Browse files Browse the repository at this point in the history
  • Loading branch information
piroor committed Nov 19, 2014
1 parent 883b44b commit 29b30a9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/droonga-protocol/connection-pool.js
Expand Up @@ -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;
Expand Down

0 comments on commit 29b30a9

Please sign in to comment.