Add partition map reload

This commit is contained in:
calzoneman 2016-06-08 22:54:16 -07:00
parent 7faf2829b2
commit 6e772c6837
5 changed files with 109 additions and 57 deletions

View file

@ -6,9 +6,8 @@ class PartitionClusterClient {
}
getSocketConfig(channel) {
return Promise.resolve({
servers: this.partitionDecider.getPartitionForChannel(channel)
});
return Promise.resolve(
this.partitionDecider.getPartitionForChannel(channel));
}
}