Improve ClusterRouterSettings, see #2103
* It doesn't make sense to combine lookup with routeesPath with maxInstancesPerNode != 1 * Rename deploy-on-own-node as it can be used for lookup also
This commit is contained in:
parent
a990041df9
commit
f746115c4d
6 changed files with 72 additions and 40 deletions
|
|
@ -43,7 +43,7 @@ private[akka] class ClusterDeployer(_settings: ActorSystem.Settings, _pm: Dynami
|
|||
val clusterRouterSettings = ClusterRouterSettings(
|
||||
totalInstances = deploy.config.getInt("nr-of-instances"),
|
||||
maxInstancesPerNode = deploy.config.getInt("cluster.max-nr-of-instances-per-node"),
|
||||
deployOnOwnNode = deploy.config.getBoolean("cluster.deploy-on-own-node"),
|
||||
routeesOnOwnNode = deploy.config.getBoolean("cluster.routees-on-own-node"),
|
||||
routeesPath = deploy.config.getString("cluster.routees-path"))
|
||||
|
||||
Some(deploy.copy(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue